[Cmake-commits] CMake branch, next, updated. v3.4.0-rc1-696-g2dae101
Brad King
brad.king at kitware.com
Mon Oct 19 11:07:54 EDT 2015
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, next has been updated
via 2dae1015d77b7b83bdc1e77cb27c09ee16e46365 (commit)
via f19d6a2c953aef79a9b807a51c6b7a7379d888cb (commit)
from f89d71957b470b16631cd1d54f5478aea1008530 (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=2dae1015d77b7b83bdc1e77cb27c09ee16e46365
commit 2dae1015d77b7b83bdc1e77cb27c09ee16e46365
Merge: f89d719 f19d6a2
Author: Brad King <brad.king at kitware.com>
AuthorDate: Mon Oct 19 11:07:53 2015 -0400
Commit: CMake Topic Stage <kwrobot at kitware.com>
CommitDate: Mon Oct 19 11:07:53 2015 -0400
Merge topic 'doc-add_test-requirements' into next
f19d6a2c Help: Document add_test expectations of test command (#15798)
https://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=f19d6a2c953aef79a9b807a51c6b7a7379d888cb
commit f19d6a2c953aef79a9b807a51c6b7a7379d888cb
Author: Brad King <brad.king at kitware.com>
AuthorDate: Mon Oct 19 11:07:01 2015 -0400
Commit: Brad King <brad.king at kitware.com>
CommitDate: Mon Oct 19 11:07:01 2015 -0400
Help: Document add_test expectations of test command (#15798)
diff --git a/Help/command/add_test.rst b/Help/command/add_test.rst
index 7e7e6bd..d8a96e9 100644
--- a/Help/command/add_test.rst
+++ b/Help/command/add_test.rst
@@ -28,6 +28,13 @@ quotes, or other characters special in CMake syntax. The options are:
directory set to the build directory corresponding to the
current source directory.
+The given test command is expected to exit with code ``0`` to pass and
+non-zero to fail, or vice-versa if the :prop_test:`WILL_FAIL` test
+property is set. Any output written to stdout or stderr will be
+captured by :manual:`ctest(1)` but does not affect the pass/fail status
+unless the :prop_test:`PASS_REGULAR_EXPRESSION` or
+:prop_test:`FAIL_REGULAR_EXPRESSION` test property is used.
+
The ``COMMAND`` and ``WORKING_DIRECTORY`` options may use "generator
expressions" with the syntax ``$<...>``. See the
:manual:`cmake-generator-expressions(7)` manual for available expressions.
-----------------------------------------------------------------------
Summary of changes:
Help/command/add_test.rst | 7 +++++++
1 file changed, 7 insertions(+)
hooks/post-receive
--
CMake
More information about the Cmake-commits
mailing list