summaryrefslogtreecommitdiffstats
path: root/Help
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-04-22 12:38:24 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-04-22 12:38:33 (GMT)
commitf9fbc78cd638c1bb874ffd24531f98c095ca1377 (patch)
tree75df921366553c93063bbec443fe207a48767ae6 /Help
parent370def7b3e3205ba47c0634ab99f8cdf28ff4dae (diff)
parente89aeba5c4733964db15e0d147e063af34205d54 (diff)
downloadCMake-f9fbc78cd638c1bb874ffd24531f98c095ca1377.zip
CMake-f9fbc78cd638c1bb874ffd24531f98c095ca1377.tar.gz
CMake-f9fbc78cd638c1bb874ffd24531f98c095ca1377.tar.bz2
Merge topic 'ctest_stop_on_failure_16628'
e89aeba5c4 ctest: add option --stop-on-failure Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4630
Diffstat (limited to 'Help')
-rw-r--r--Help/command/ctest_test.rst4
-rw-r--r--Help/manual/ctest.1.rst3
-rw-r--r--Help/release/dev/ctest_stop_on_failure.rst8
3 files changed, 15 insertions, 0 deletions
diff --git a/Help/command/ctest_test.rst b/Help/command/ctest_test.rst
index 5c67b2c..3589296 100644
--- a/Help/command/ctest_test.rst
+++ b/Help/command/ctest_test.rst
@@ -20,6 +20,7 @@ Perform the :ref:`CTest Test Step` as a :ref:`Dashboard Client`.
[RESOURCE_SPEC_FILE <file>]
[TEST_LOAD <threshold>]
[SCHEDULE_RANDOM <ON|OFF>]
+ [STOP_ON_FAILURE]
[STOP_TIME <time-of-day>]
[RETURN_VALUE <result-var>]
[CAPTURE_CMAKE_ERROR <result-var>]
@@ -119,6 +120,9 @@ The options are:
Launch tests in a random order. This may be useful for detecting
implicit test dependencies.
+``STOP_ON_FAILURE``
+ Stop the execution of the tests once one has failed.
+
``STOP_TIME <time-of-day>``
Specify a time of day at which the tests should all stop running.
diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst
index f2033b7..5f953b3 100644
--- a/Help/manual/ctest.1.rst
+++ b/Help/manual/ctest.1.rst
@@ -72,6 +72,9 @@ Options
This option can also be enabled by setting the
:envvar:`CTEST_OUTPUT_ON_FAILURE` environment variable
+``--stop-on-failure``
+ Stop running the tests when the first failure happens.
+
``-F``
Enable failover.
diff --git a/Help/release/dev/ctest_stop_on_failure.rst b/Help/release/dev/ctest_stop_on_failure.rst
new file mode 100644
index 0000000..f10c37c
--- /dev/null
+++ b/Help/release/dev/ctest_stop_on_failure.rst
@@ -0,0 +1,8 @@
+ctest_stop_on_failure
+---------------------
+
+* :manual:`ctest(1)` gained a ``--stop-on-failure`` option,
+ which can be used to stop running the tests once one has failed.
+
+* The :command:`ctest_test` command gained a ``STOP_ON_FAILURE`` option
+ which can be used to stop running the tests once one has failed.