summaryrefslogtreecommitdiffstats
path: root/Help/command/ctest_submit.rst
diff options
context:
space:
mode:
authorBetsy McPhail <betsy.mcphail@kitware.com>2018-08-29 01:09:53 (GMT)
committerBetsy McPhail <betsy.mcphail@kitware.com>2018-08-29 01:09:53 (GMT)
commit5fc11b34e49009aa743c5b30e9b1bf9d51d2f417 (patch)
tree5885fd1ed4f4c05933d87d5660853747a5d6cb5a /Help/command/ctest_submit.rst
parentca7507cebc74fe4af3660cf85c72070c3f95a9ba (diff)
downloadCMake-5fc11b34e49009aa743c5b30e9b1bf9d51d2f417.zip
CMake-5fc11b34e49009aa743c5b30e9b1bf9d51d2f417.tar.gz
CMake-5fc11b34e49009aa743c5b30e9b1bf9d51d2f417.tar.bz2
Help: Add CAPTURE_CMAKE_ERROR to ctest_submit and ctest_update documentation
Also, added CAPTURE_CMAKE_ERROR to vim synax file for ctest_submit, ctest_update and ctest_memcheck.
Diffstat (limited to 'Help/command/ctest_submit.rst')
-rw-r--r--Help/command/ctest_submit.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Help/command/ctest_submit.rst b/Help/command/ctest_submit.rst
index a412792..2ba6bef 100644
--- a/Help/command/ctest_submit.rst
+++ b/Help/command/ctest_submit.rst
@@ -10,6 +10,7 @@ Perform the :ref:`CTest Submit Step` as a :ref:`Dashboard Client`.
[RETRY_COUNT <count>]
[RETRY_DELAY <delay>]
[RETURN_VALUE <result-var>]
+ [CAPTURE_CMAKE_ERROR <result-var>]
[QUIET]
)
@@ -52,6 +53,10 @@ The options are:
Store in the ``<result-var>`` variable ``0`` for success and
non-zero on failure.
+``CAPTURE_CMAKE_ERROR <result-var>``
+ Store in the ``<result-var>`` variable -1 if there are any errors running
+ the command and prevent ctest from returning non-zero if an error occurs.
+
``QUIET``
Suppress all non-error messages that would have otherwise been
printed to the console.