summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2017-01-16 16:01:02 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2017-01-16 16:01:02 (GMT)
commit0f3bb10dbe253ddeabe1b7006b46d813de61dd01 (patch)
tree8331413aef0b1869432d55ed89ef2d7a495f80f3 /Tests/RunCMake
parent2ad405202e811affb9961f96a90d319d49a88b11 (diff)
parenta10586377232b28be13c2bf90c98d002067eb5fc (diff)
downloadCMake-0f3bb10dbe253ddeabe1b7006b46d813de61dd01.zip
CMake-0f3bb10dbe253ddeabe1b7006b46d813de61dd01.tar.gz
CMake-0f3bb10dbe253ddeabe1b7006b46d813de61dd01.tar.bz2
Merge topic 'fix_repeat_until_fail_duplicated_output'
a1058637 CTest: Properly reset output to avoid duplication with --repeat-until-fail
Diffstat (limited to 'Tests/RunCMake')
-rw-r--r--Tests/RunCMake/CTestCommandLine/repeat-until-fail-cmake.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-until-fail-cmake.cmake b/Tests/RunCMake/CTestCommandLine/repeat-until-fail-cmake.cmake
index 4654416..ecb9a64 100644
--- a/Tests/RunCMake/CTestCommandLine/repeat-until-fail-cmake.cmake
+++ b/Tests/RunCMake/CTestCommandLine/repeat-until-fail-cmake.cmake
@@ -12,4 +12,6 @@ add_test(NAME test1
set_tests_properties(test1 PROPERTIES DEPENDS "initialization")
add_test(hello ${CMAKE_COMMAND} -E echo hello)
+set_tests_properties(hello PROPERTIES FAIL_REGULAR_EXPRESSION "hello.*hello")
+
add_test(goodbye ${CMAKE_COMMAND} -E echo goodbye)