check-integration: fail on warnings
Those are most likely deprecation warnings, but the tests should be free of warnings (from awesome) anyway. The "Last main loop iteration took X seconds!" warning is filtered out.
This commit is contained in:
parent
e852455308
commit
730b706217
|
@ -395,7 +395,7 @@ add_executable(test-gravity tests/test-gravity.c)
|
||||||
target_link_libraries(test-gravity
|
target_link_libraries(test-gravity
|
||||||
${AWESOME_COMMON_REQUIRED_LDFLAGS} ${AWESOME_REQUIRED_LDFLAGS})
|
${AWESOME_COMMON_REQUIRED_LDFLAGS} ${AWESOME_REQUIRED_LDFLAGS})
|
||||||
add_custom_target(check-integration
|
add_custom_target(check-integration
|
||||||
sh -c "CMAKE_BINARY_DIR='${CMAKE_BINARY_DIR}' ${CMAKE_SOURCE_DIR}/tests/run.sh"
|
sh -c "CMAKE_BINARY_DIR='${CMAKE_BINARY_DIR}' ${CMAKE_SOURCE_DIR}/tests/run.sh -W"
|
||||||
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
WORKING_DIRECTORY ${CMAKE_SOURCE_DIR}
|
||||||
COMMENT "Running integration tests"
|
COMMENT "Running integration tests"
|
||||||
USES_TERMINAL
|
USES_TERMINAL
|
||||||
|
|
Loading…
Reference in New Issue