summaryrefslogtreecommitdiff
path: root/Source/ctest.cxx
diff options
context:
space:
mode:
authorJohnny Jazeix <jazeix@gmail.com>2020-04-20 23:05:15 +0200
committerJohnny Jazeix <jazeix@gmail.com>2020-04-20 23:05:15 +0200
commite89aeba5c4733964db15e0d147e063af34205d54 (patch)
tree2b5e1da00d132d9e60b8355f6de72427b44faa62 /Source/ctest.cxx
parentdf2d39bc512bd09ae808e8a2a6c7523737bb26c0 (diff)
downloadcmake-e89aeba5c4733964db15e0d147e063af34205d54.tar.gz
ctest: add option --stop-on-failure
To stop the tests once one has failed Fixes: #16628
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r--Source/ctest.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx
index fbdf75ada1..3b5bf8c4cd 100644
--- a/Source/ctest.cxx
+++ b/Source/ctest.cxx
@@ -35,6 +35,7 @@ static const char* cmDocumentationOptions[][2] = {
{ "--output-on-failure",
"Output anything outputted by the test program "
"if the test should fail." },
+ { "--stop-on-failure", "Stop running the tests after one has failed." },
{ "--test-output-size-passed <size>",
"Limit the output for passed tests "
"to <size> bytes" },