mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-09 01:01:12 +00:00
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.
This commit is contained in:
@@ -110,7 +110,7 @@ syn keyword cmakeKWctest_coverage contained
|
|||||||
\ APPEND BUILD CAPTURE_CMAKE_ERROR LABELS QUIET RETURN_VALUE
|
\ APPEND BUILD CAPTURE_CMAKE_ERROR LABELS QUIET RETURN_VALUE
|
||||||
|
|
||||||
syn keyword cmakeKWctest_memcheck contained
|
syn keyword cmakeKWctest_memcheck contained
|
||||||
\ APPEND BUILD DEFECT_COUNT EXCLUDE EXCLUDE_FIXTURE EXCLUDE_FIXTURE_CLEANUP EXCLUDE_FIXTURE_SETUP EXCLUDE_LABEL INCLUDE INCLUDE_LABEL OFF ON PARALLEL_LEVEL QUIET RETURN_VALUE SCHEDULE_RANDOM START STOP_TIME STRIDE TEST_LOAD
|
\ APPEND BUILD CAPTURE_CMAKE_ERROR DEFECT_COUNT EXCLUDE EXCLUDE_FIXTURE EXCLUDE_FIXTURE_CLEANUP EXCLUDE_FIXTURE_SETUP EXCLUDE_LABEL INCLUDE INCLUDE_LABEL OFF ON PARALLEL_LEVEL QUIET RETURN_VALUE SCHEDULE_RANDOM START STOP_TIME STRIDE TEST_LOAD
|
||||||
|
|
||||||
syn keyword cmakeKWctest_run_script contained
|
syn keyword cmakeKWctest_run_script contained
|
||||||
\ NEW_PROCESS RETURN_VALUE
|
\ NEW_PROCESS RETURN_VALUE
|
||||||
@@ -119,13 +119,13 @@ syn keyword cmakeKWctest_start contained
|
|||||||
\ APPEND QUIET TAG TRACK
|
\ APPEND QUIET TAG TRACK
|
||||||
|
|
||||||
syn keyword cmakeKWctest_submit contained
|
syn keyword cmakeKWctest_submit contained
|
||||||
\ API CDASH_UPLOAD CDASH_UPLOAD_TYPE CTEST_EXTRA_SUBMIT_FILES CTEST_NOTES_FILES FILES HTTPHEADER PARTS QUIET RETRY_COUNT RETRY_DELAY RETURN_VALUE
|
\ API CAPTURE_CMAKE_ERROR CDASH_UPLOAD CDASH_UPLOAD_TYPE CTEST_EXTRA_SUBMIT_FILES CTEST_NOTES_FILES FILES HTTPHEADER PARTS QUIET RETRY_COUNT RETRY_DELAY RETURN_VALUE
|
||||||
|
|
||||||
syn keyword cmakeKWctest_test contained
|
syn keyword cmakeKWctest_test contained
|
||||||
\ APPEND BUILD CAPTURE_CMAKE_ERROR CPU EXCLUDE EXCLUDE_FIXTURE EXCLUDE_FIXTURE_CLEANUP EXCLUDE_FIXTURE_SETUP EXCLUDE_LABEL INCLUDE INCLUDE_LABEL OFF ON PARALLEL_LEVEL QUIET RETURN_VALUE SCHEDULE_RANDOM START STOP_TIME STRIDE TEST_LOAD
|
\ APPEND BUILD CAPTURE_CMAKE_ERROR CPU EXCLUDE EXCLUDE_FIXTURE EXCLUDE_FIXTURE_CLEANUP EXCLUDE_FIXTURE_SETUP EXCLUDE_LABEL INCLUDE INCLUDE_LABEL OFF ON PARALLEL_LEVEL QUIET RETURN_VALUE SCHEDULE_RANDOM START STOP_TIME STRIDE TEST_LOAD
|
||||||
|
|
||||||
syn keyword cmakeKWctest_update contained
|
syn keyword cmakeKWctest_update contained
|
||||||
\ QUIET RETURN_VALUE SOURCE
|
\ CAPTURE_CMAKE_ERROR QUIET RETURN_VALUE SOURCE
|
||||||
|
|
||||||
syn keyword cmakeKWctest_upload contained
|
syn keyword cmakeKWctest_upload contained
|
||||||
\ CAPTURE_CMAKE_ERROR FILES QUIET
|
\ CAPTURE_CMAKE_ERROR FILES QUIET
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ Perform the :ref:`CTest Submit Step` as a :ref:`Dashboard Client`.
|
|||||||
[RETRY_COUNT <count>]
|
[RETRY_COUNT <count>]
|
||||||
[RETRY_DELAY <delay>]
|
[RETRY_DELAY <delay>]
|
||||||
[RETURN_VALUE <result-var>]
|
[RETURN_VALUE <result-var>]
|
||||||
|
[CAPTURE_CMAKE_ERROR <result-var>]
|
||||||
[QUIET]
|
[QUIET]
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -52,6 +53,10 @@ The options are:
|
|||||||
Store in the ``<result-var>`` variable ``0`` for success and
|
Store in the ``<result-var>`` variable ``0`` for success and
|
||||||
non-zero on failure.
|
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``
|
``QUIET``
|
||||||
Suppress all non-error messages that would have otherwise been
|
Suppress all non-error messages that would have otherwise been
|
||||||
printed to the console.
|
printed to the console.
|
||||||
|
|||||||
@@ -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 the source tree from version control and record results in
|
||||||
``Update.xml`` for submission with the :command:`ctest_submit` command.
|
``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
|
Store in the ``<result-var>`` variable the number of files
|
||||||
updated or ``-1`` on error.
|
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``
|
``QUIET``
|
||||||
Tell CTest to suppress most non-error messages that it would
|
Tell CTest to suppress most non-error messages that it would
|
||||||
have otherwise printed to the console. CTest will still report
|
have otherwise printed to the console. CTest will still report
|
||||||
|
|||||||
Reference in New Issue
Block a user