summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-11-01 13:55:09 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-11-01 13:55:18 (GMT)
commit6660926f22b940759954e74e2b4c0c3dd0ff1991 (patch)
tree870c91a0139676ae7f8d68baf22cfbfc268d915c /Help
parentb42da462333aea986576d00bf9af7449aa6e8010 (diff)
parent39ac8b4eb5c5ea99cf1053bd37e76d811f5122fc (diff)
downloadCMake-6660926f22b940759954e74e2b4c0c3dd0ff1991.zip
CMake-6660926f22b940759954e74e2b4c0c3dd0ff1991.tar.gz
CMake-6660926f22b940759954e74e2b4c0c3dd0ff1991.tar.bz2
Merge topic 'ctest-repeat-until-pass'
39ac8b4eb5 ctest: Add --repeat-after-timeout option 80c2c9d14c ctest: Add --repeat-until-pass option 0187e52244 cmCTestRunTest: Use inline member initializers Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3960
Diffstat (limited to 'Help')
-rw-r--r--Help/manual/ctest.1.rst13
-rw-r--r--Help/release/dev/ctest-repeat-until-pass.rst6
2 files changed, 19 insertions, 0 deletions
diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst
index a18d43f..0097cee 100644
--- a/Help/manual/ctest.1.rst
+++ b/Help/manual/ctest.1.rst
@@ -266,6 +266,19 @@ Options
This is useful in finding sporadic failures in test cases.
+``--repeat-until-pass <n>``
+ Allow each test to run up to ``<n>`` times in order to pass.
+ Repeats tests if they fail for any reason.
+
+ This is useful in tolerating sporadic failures in test cases.
+
+``--repeat-after-timeout <n>``
+ Allow each test to run up to ``<n>`` times in order to pass.
+ Repeats tests only if they timeout.
+
+ This is useful in tolerating sporadic timeouts in test cases
+ on busy machines.
+
``--max-width <width>``
Set the max width for a test name to output.
diff --git a/Help/release/dev/ctest-repeat-until-pass.rst b/Help/release/dev/ctest-repeat-until-pass.rst
new file mode 100644
index 0000000..d177247
--- /dev/null
+++ b/Help/release/dev/ctest-repeat-until-pass.rst
@@ -0,0 +1,6 @@
+ctest-repeat-until-pass
+-----------------------
+
+* The :manual:`ctest(1)` tool learned new ``--repeat-until-pass <n>``
+ and ``--repeat-after-timeout <n>`` options to help tolerate sporadic
+ test failures.