Bill Hoffman fde70a1b26 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.
2015-03-23 09:08:22 -04:00

4 lines
170 B
CMake

# 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")