diff options
author | Brad King <brad.king@kitware.com> | 2019-11-04 16:21:38 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-11-04 16:22:58 (GMT) |
commit | 30e79bb4a388b59c5851b949a0dd559bc57e8ad3 (patch) | |
tree | 8effbc370fe25668c0685267ee0c51b44e05aa93 /Tests/RunCMake/CTestCommandLine | |
parent | 39ac8b4eb5c5ea99cf1053bd37e76d811f5122fc (diff) | |
download | CMake-30e79bb4a388b59c5851b949a0dd559bc57e8ad3.zip CMake-30e79bb4a388b59c5851b949a0dd559bc57e8ad3.tar.gz CMake-30e79bb4a388b59c5851b949a0dd559bc57e8ad3.tar.bz2 |
Tests: Extend RunCMake.CTestCommandLine internal timeout for valgrind
A case added by commit 39ac8b4eb5 (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.
Diffstat (limited to 'Tests/RunCMake/CTestCommandLine')
-rw-r--r-- | Tests/RunCMake/CTestCommandLine/repeat-after-timeout-cmake.cmake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-after-timeout-cmake.cmake b/Tests/RunCMake/CTestCommandLine/repeat-after-timeout-cmake.cmake index 4dc9c36..873c0bd 100644 --- a/Tests/RunCMake/CTestCommandLine/repeat-after-timeout-cmake.cmake +++ b/Tests/RunCMake/CTestCommandLine/repeat-after-timeout-cmake.cmake @@ -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) |