diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2015-03-05 21:51:10 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-03-23 13:08:22 (GMT) |
commit | fde70a1b26e130663cc4c02e0530d3aadc165a41 (patch) | |
tree | eac5b5a1a6cfe1709259430eb22e5f7a7cea48ad /Tests/RunCMake/CTestCommandLine/init.cmake | |
parent | 56be75b3107b210631919c13496060d648f97b14 (diff) | |
download | CMake-fde70a1b26e130663cc4c02e0530d3aadc165a41.zip CMake-fde70a1b26e130663cc4c02e0530d3aadc165a41.tar.gz CMake-fde70a1b26e130663cc4c02e0530d3aadc165a41.tar.bz2 |
ctest: Add a new --repeat-until-fail option
This option tells ctest to run each test N times until the test fails or
the N times have run. This is useful for finding random failing tests.
Diffstat (limited to 'Tests/RunCMake/CTestCommandLine/init.cmake')
-rw-r--r-- | Tests/RunCMake/CTestCommandLine/init.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/CTestCommandLine/init.cmake b/Tests/RunCMake/CTestCommandLine/init.cmake new file mode 100644 index 0000000..a900f67 --- /dev/null +++ b/Tests/RunCMake/CTestCommandLine/init.cmake @@ -0,0 +1,3 @@ +# This is run by test initialization in repeat-until-fail-cmake.cmake +# with cmake -P. It creates TEST_OUTPUT_FILE with a 0 in it. +file(WRITE "${TEST_OUTPUT_FILE}" "0") |