Commit 30e79bb4 authored by Brad King's avatar Brad King
Browse files

Tests: Extend RunCMake.CTestCommandLine internal timeout for valgrind

A case added by commit 39ac8b4e (ctest: Add --repeat-after-timeout
option, 2019-10-29) includes a success-case timeout of 2 seconds.  That
is too short when running under valgrind, so extend it to 5 seconds.
parent 39ac8b4e
......@@ -9,7 +9,7 @@ add_test(NAME test1
COMMAND ${CMAKE_COMMAND}
"-DTEST_OUTPUT_FILE=${TEST_OUTPUT_FILE}"
-P "${CMAKE_CURRENT_SOURCE_DIR}/test1-timeout.cmake")
set_tests_properties(test1 PROPERTIES DEPENDS "initialization" TIMEOUT 2)
set_tests_properties(test1 PROPERTIES DEPENDS "initialization" TIMEOUT 5)
add_test(hello ${CMAKE_COMMAND} -E echo hello)
add_test(goodbye ${CMAKE_COMMAND} -E echo goodbye)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment