summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorCraig Scott <craig.scott@crascit.com>2019-11-19 20:48:25 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-11-19 20:48:38 (GMT)
commit9e9787f19a69ed6e0482d29a508548b048dd025d (patch)
tree9c81ad06c4a5c9e4411847baf027e84c8870f2d6 /Help/manual
parent3520208cbd0ebf9f3db1a9711b49286462cd7e54 (diff)
parent32c165d2636a65362265d20a16e1f914a53882dd (diff)
downloadCMake-9e9787f19a69ed6e0482d29a508548b048dd025d.zip
CMake-9e9787f19a69ed6e0482d29a508548b048dd025d.tar.gz
CMake-9e9787f19a69ed6e0482d29a508548b048dd025d.tar.bz2
Merge topic 'ctest-repeat'
32c165d263 CTest: Consolidate '--repeat-* n' options as `--repeat *:n` Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4053
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/ctest.1.rst30
1 files changed, 17 insertions, 13 deletions
diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst
index 328f579..2a6cb48 100644
--- a/Help/manual/ctest.1.rst
+++ b/Help/manual/ctest.1.rst
@@ -261,23 +261,27 @@ Options
fail, subsequent calls to CTest with the ``--rerun-failed`` option will run
the set of tests that most recently failed (if any).
-``--repeat-until-fail <n>``
- Require each test to run ``<n>`` times without failing in order to pass.
-
- This is useful in finding sporadic failures in test cases.
+``--repeat <mode>:<n>``
+ Run tests repeatedly based on the given ``<mode>`` up to ``<n>`` times.
+ The modes are:
-``--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.
+ ``until-fail``
+ Require each test to run ``<n>`` times without failing in order to pass.
+ This is useful in finding sporadic failures in test cases.
- This is useful in tolerating sporadic failures in test cases.
+ ``until-pass``
+ 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.
+ ``after-timeout``
+ 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.
- This is useful in tolerating sporadic timeouts in test cases
- on busy machines.
+``--repeat-until-fail <n>``
+ Equivalent to ``--repeat until-fail:<n>``.
``--max-width <width>``
Set the max width for a test name to output.