From 730b706217a3ff0fabbeaeaf7860d6fc7cc119ac Mon Sep 17 00:00:00 2001 From: Daniel Hahler Date: Fri, 11 Aug 2017 01:03:22 +0200 Subject: [PATCH] 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. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 558b282e..b4feb0b1 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -395,7 +395,7 @@ add_executable(test-gravity tests/test-gravity.c) target_link_libraries(test-gravity ${AWESOME_COMMON_REQUIRED_LDFLAGS} ${AWESOME_REQUIRED_LDFLAGS}) 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} COMMENT "Running integration tests" USES_TERMINAL