diff --git a/Help/command/ctest_build.rst b/Help/command/ctest_build.rst index e1b7793fc1..d3ceb2df84 100644 --- a/Help/command/ctest_build.rst +++ b/Help/command/ctest_build.rst @@ -13,6 +13,7 @@ Perform the :ref:`CTest Build Step` as a :ref:`Dashboard Client`. [NUMBER_ERRORS ] [NUMBER_WARNINGS ] [RETURN_VALUE ] + [CAPTURE_CMAKE_ERROR ] ) Build the project and store results in ``Build.xml`` @@ -66,6 +67,10 @@ The options are: ``RETURN_VALUE `` Store the return value of the native build tool in the given variable. +``CAPTURE_CMAKE_ERROR `` + Store in the ```` variable -1 if there are any errors running + the command and prevent ctest from returning non-zero if an error occurs. + ``QUIET`` Suppress any CTest-specific non-error output that would have been printed to the console otherwise. The summary of warnings / errors, diff --git a/Help/command/ctest_configure.rst b/Help/command/ctest_configure.rst index 851c29292a..b11e77c4aa 100644 --- a/Help/command/ctest_configure.rst +++ b/Help/command/ctest_configure.rst @@ -6,7 +6,8 @@ Perform the :ref:`CTest Configure Step` as a :ref:`Dashboard Client`. :: ctest_configure([BUILD ] [SOURCE ] [APPEND] - [OPTIONS ] [RETURN_VALUE ] [QUIET]) + [OPTIONS ] [RETURN_VALUE ] [QUIET] + [CAPTURE_CMAKE_ERROR ]) Configure the project build tree and record results in ``Configure.xml`` for submission with the :command:`ctest_submit` command. @@ -33,6 +34,10 @@ The options are: Store in the ```` variable the return value of the native configuration tool. +``CAPTURE_CMAKE_ERROR `` + Store in the ```` variable -1 if there are any errors running + the command and prevent ctest from returning non-zero if an error occurs. + ``QUIET`` Suppress any CTest-specific non-error messages that would have otherwise been printed to the console. Output from the underlying diff --git a/Help/command/ctest_coverage.rst b/Help/command/ctest_coverage.rst index 12429b99d6..ec1ee25941 100644 --- a/Help/command/ctest_coverage.rst +++ b/Help/command/ctest_coverage.rst @@ -8,6 +8,7 @@ Perform the :ref:`CTest Coverage Step` as a :ref:`Dashboard Client`. ctest_coverage([BUILD ] [APPEND] [LABELS