This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "CMake".

The branch, master has been updated
       via  16225c28d09c9ec220ed481dc2a4567bcdc02639 (commit)
       via  5fc11b34e49009aa743c5b30e9b1bf9d51d2f417 (commit)
      from  4af79b6825ba89e6041fc6d85f426dca14119231 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=16225c28d09c9ec220ed481dc2a4567bcdc02639
commit 16225c28d09c9ec220ed481dc2a4567bcdc02639
Merge: 4af79b6 5fc11b3
Author:     Craig Scott <[email protected]>
AuthorDate: Fri Aug 31 08:39:18 2018 +0000
Commit:     Kitware Robot <[email protected]>
CommitDate: Fri Aug 31 04:39:27 2018 -0400

    Merge topic 'capture_camke_error-update-docs'
    
    5fc11b34e4 Help: Add CAPTURE_CMAKE_ERROR to ctest_submit and ctest_update 
documentation
    
    Acked-by: Kitware Robot <[email protected]>
    Merge-request: !2324


https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=5fc11b34e49009aa743c5b30e9b1bf9d51d2f417
commit 5fc11b34e49009aa743c5b30e9b1bf9d51d2f417
Author:     Betsy McPhail <[email protected]>
AuthorDate: Tue Aug 28 21:09:53 2018 -0400
Commit:     Betsy McPhail <[email protected]>
CommitDate: Tue Aug 28 21:09:53 2018 -0400

    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.

diff --git a/Auxiliary/vim/syntax/cmake.vim b/Auxiliary/vim/syntax/cmake.vim
index 98d6ef1..5c153c1 100644
--- a/Auxiliary/vim/syntax/cmake.vim
+++ b/Auxiliary/vim/syntax/cmake.vim
@@ -110,7 +110,7 @@ syn keyword cmakeKWctest_coverage contained
             \ APPEND BUILD CAPTURE_CMAKE_ERROR LABELS QUIET RETURN_VALUE
 
 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
             \ NEW_PROCESS RETURN_VALUE
@@ -119,13 +119,13 @@ syn keyword cmakeKWctest_start contained
             \ APPEND QUIET TAG TRACK
 
 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
             \ 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
-            \ QUIET RETURN_VALUE SOURCE
+            \ CAPTURE_CMAKE_ERROR QUIET RETURN_VALUE SOURCE
 
 syn keyword cmakeKWctest_upload contained
             \ CAPTURE_CMAKE_ERROR FILES QUIET
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.
diff --git a/Help/command/ctest_update.rst b/Help/command/ctest_update.rst
index b205bca..df1a4e5 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

-----------------------------------------------------------------------

Summary of changes:
 Auxiliary/vim/syntax/cmake.vim | 6 +++---
 Help/command/ctest_submit.rst  | 5 +++++
 Help/command/ctest_update.rst  | 9 ++++++++-
 3 files changed, 16 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
CMake
_______________________________________________
Cmake-commits mailing list
[email protected]
https://cmake.org/mailman/listinfo/cmake-commits

Reply via email to