summaryrefslogtreecommitdiffstats
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-11-15 14:28:37 (GMT)
committerBrad King <brad.king@kitware.com>2019-11-15 15:08:33 (GMT)
commit32c165d2636a65362265d20a16e1f914a53882dd (patch)
treed7db33083d84370fffc281deda848786fd2b2952 /Source/ctest.cxx
parentc1ae0532f3a1d6d2c7b6e8f370be2a6dca89bf93 (diff)
downloadCMake-32c165d2636a65362265d20a16e1f914a53882dd.zip
CMake-32c165d2636a65362265d20a16e1f914a53882dd.tar.gz
CMake-32c165d2636a65362265d20a16e1f914a53882dd.tar.bz2
CTest: Consolidate '--repeat-* n' options as `--repeat *:n`
Combine `--repeat-until-fail`, `--repeat-until-pass`, and `--repeat-after-timeout` to create a single `--repeat <mode>:<n>` option. Retain `--repeat-until-fail` too because that has been available in previous releases.
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r--Source/ctest.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index a7b11cd..1f25492 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -98,11 +98,11 @@ static const char* cmDocumentationOptions[][2] = {
"Run a specific number of tests by number." },
{ "-U, --union", "Take the Union of -I and -R" },
{ "--rerun-failed", "Run only the tests that failed previously" },
- { "--repeat-until-fail <n>",
+ { "--repeat until-fail:<n>, --repeat-until-fail <n>",
"Require each test to run <n> times without failing in order to pass" },
- { "--repeat-until-pass <n>",
+ { "--repeat until-pass:<n>",
"Allow each test to run up to <n> times in order to pass" },
- { "--repeat-after-timeout <n>",
+ { "--repeat after-timeout:<n>",
"Allow each test to run up to <n> times if it times out" },
{ "--max-width <width>", "Set the max width for a test name to output" },
{ "--interactive-debug-mode [0|1]", "Set the interactive mode to 0 or 1." },