diff --git a/CMakeLists.txt b/CMakeLists.txt index 837c1529cc1..350f397fd1b 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1566,10 +1566,11 @@ if(BUILD_TESTS) set(TEST_MONITOR_DEFAULT_TIMEOUT 120) endif() + # The real timeouts are handled by test-monitor + set(CTEST_TEST_TIMEOUT 1000) + function(configure_test test) - # The real timeouts are handled by test-monitor - set_tests_properties(${test} - PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED" TIMEOUT 1000) + set_tests_properties(${test} PROPERTIES FAIL_REGULAR_EXPRESSION "FAILED") endfunction(configure_test) if(INSTALL_TESTSUITE)