diff options
author | Betsy McPhail <betsy.mcphail@kitware.com> | 2018-08-28 21:09:53 -0400 |
---|---|---|
committer | Betsy McPhail <betsy.mcphail@kitware.com> | 2018-08-28 21:09:53 -0400 |
commit | 5fc11b34e49009aa743c5b30e9b1bf9d51d2f417 (patch) | |
tree | 5885fd1ed4f4c05933d87d5660853747a5d6cb5a /Help/command/ctest_update.rst | |
parent | ca7507cebc74fe4af3660cf85c72070c3f95a9ba (diff) | |
download | cmake-5fc11b34e49009aa743c5b30e9b1bf9d51d2f417.tar.gz |
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_update.rst')
-rw-r--r-- | Help/command/ctest_update.rst | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/Help/command/ctest_update.rst b/Help/command/ctest_update.rst index b205bca933..df1a4e5609 100644 --- a/Help/command/ctest_update.rst +++ b/Help/command/ctest_update.rst @@ -5,7 +5,10 @@ Perform the :ref:`CTest Update Step` as a :ref:`Dashboard Client`. :: - ctest_update([SOURCE <source-dir>] [RETURN_VALUE <result-var>] [QUIET]) + ctest_update([SOURCE <source-dir>] + [RETURN_VALUE <result-var>] + [CAPTURE_CMAKE_ERROR <result-var>] + [QUIET]) Update the source tree from version control and record results in ``Update.xml`` for submission with the :command:`ctest_submit` command. @@ -20,6 +23,10 @@ The options are: Store in the ``<result-var>`` variable the number of files updated or ``-1`` on error. +``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`` Tell CTest to suppress most non-error messages that it would have otherwise printed to the console. CTest will still report |