summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CTestCommandLine/repeat-until-pass-ctest-stdout.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-10-29 18:45:21 (GMT)
committerBrad King <brad.king@kitware.com>2019-10-29 19:10:12 (GMT)
commit80c2c9d14cf1c1a8f162e119bd00d5f483a94af2 (patch)
tree273a15083c42453ee3265a3ce8263bf7a74a3e3e /Tests/RunCMake/CTestCommandLine/repeat-until-pass-ctest-stdout.txt
parent0187e522448c8fe92c15d4a983afac36950d1d59 (diff)
downloadCMake-80c2c9d14cf1c1a8f162e119bd00d5f483a94af2.zip
CMake-80c2c9d14cf1c1a8f162e119bd00d5f483a94af2.tar.gz
CMake-80c2c9d14cf1c1a8f162e119bd00d5f483a94af2.tar.bz2
ctest: Add --repeat-until-pass option
Add an option to re-run tests if they fail. This will help tolerate sporadic failures. Issue: #17010 Co-Author: Ben Boeckel <ben.boeckel@kitware.com> Co-Author: Chuck Atkins <chuck.atkins@kitware.com>
Diffstat (limited to 'Tests/RunCMake/CTestCommandLine/repeat-until-pass-ctest-stdout.txt')
-rw-r--r--Tests/RunCMake/CTestCommandLine/repeat-until-pass-ctest-stdout.txt15
1 files changed, 15 insertions, 0 deletions
diff --git a/Tests/RunCMake/CTestCommandLine/repeat-until-pass-ctest-stdout.txt b/Tests/RunCMake/CTestCommandLine/repeat-until-pass-ctest-stdout.txt
new file mode 100644
index 0000000..3745dc2
--- /dev/null
+++ b/Tests/RunCMake/CTestCommandLine/repeat-until-pass-ctest-stdout.txt
@@ -0,0 +1,15 @@
+^Test project .*/Tests/RunCMake/CTestCommandLine/repeat-until-pass-build
+ Start 1: initialization
+1/4 Test #1: initialization ................... Passed +[0-9.]+ sec
+ Start 2: test1
+2/4 Test #2: test1 ............................\*\*\*Failed +[0-9.]+ sec
+ Start 2: test1
+ Test #2: test1 ............................ Passed +[0-9.]+ sec
+ Start 3: hello
+3/4 Test #3: hello ............................ Passed +[0-9.]+ sec
+ Start 4: goodbye
+4/4 Test #4: goodbye .......................... Passed +[0-9.]+ sec
+
+100% tests passed, 0 tests failed out of 4
+
+Total Test time \(real\) = +[0-9.]+ sec$