summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-07-29 14:58:40 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-07-29 14:59:00 (GMT)
commitb0ba99f152abf7c2ab61e4ed6b235c23dca67d28 (patch)
tree48e1fbd13be423132e21294767f4c63930284667
parentfeb67ce718c752aace97ecaa44d10bb57b4a855d (diff)
parentca39258a66c53b531b07d3bb51fa8166b5c5977f (diff)
downloadCMake-b0ba99f152abf7c2ab61e4ed6b235c23dca67d28.zip
CMake-b0ba99f152abf7c2ab61e4ed6b235c23dca67d28.tar.gz
CMake-b0ba99f152abf7c2ab61e4ed6b235c23dca67d28.tar.bz2
Merge topic 'doc-add_test-typo'
ca39258a66 Help: Fix typo in add_test documentation Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !9687
-rw-r--r--Auxiliary/vim/syntax/cmake.vim1
-rw-r--r--Help/command/add_test.rst2
2 files changed, 1 insertions, 2 deletions
diff --git a/Auxiliary/vim/syntax/cmake.vim b/Auxiliary/vim/syntax/cmake.vim
index f9efd9e..d09bbfc 100644
--- a/Auxiliary/vim/syntax/cmake.vim
+++ b/Auxiliary/vim/syntax/cmake.vim
@@ -2637,7 +2637,6 @@ syn keyword cmakeKWadd_test contained
\ SKIP_REGULAR_EXPRESSION
\ TARGET_FILE
\ WILL_FAIL
- \ WILL_FALL
\ WORKING_DIRECTORY
syn keyword cmakeKWblock contained
diff --git a/Help/command/add_test.rst b/Help/command/add_test.rst
index 557c858..2a3c759 100644
--- a/Help/command/add_test.rst
+++ b/Help/command/add_test.rst
@@ -80,7 +80,7 @@ directory the test is created in.
If the test command exits with code ``0`` the test passes. Non-zero exit code
is a "failed" test. The test property :prop_test:`WILL_FAIL` inverts this
logic. Note that system-level test failures such as segmentation faults or
-heap errors will still fail the test even if ``WILL_FALL`` is true. Output
+heap errors will still fail the test even if ``WILL_FAIL`` is true. Output
written to stdout or stderr is captured by :manual:`ctest(1)` and only
affects the pass/fail status via the :prop_test:`PASS_REGULAR_EXPRESSION`,
:prop_test:`FAIL_REGULAR_EXPRESSION`, or :prop_test:`SKIP_REGULAR_EXPRESSION`