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:58:59 (GMT)
commit9adccab675c4472df32cce9f92fbf1b9d5e1b250 (patch)
tree892c58d628f564ca40528968a03fc37b663b76e2
parent51b5d9f464c8f1a5a62c26f40cab553d115b991a (diff)
parentca39258a66c53b531b07d3bb51fa8166b5c5977f (diff)
downloadCMake-9adccab675c4472df32cce9f92fbf1b9d5e1b250.zip
CMake-9adccab675c4472df32cce9f92fbf1b9d5e1b250.tar.gz
CMake-9adccab675c4472df32cce9f92fbf1b9d5e1b250.tar.bz2
Merge topic 'doc-add_test-typo' into release-3.30
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 5d412c2..b504e4e 100644
--- a/Auxiliary/vim/syntax/cmake.vim
+++ b/Auxiliary/vim/syntax/cmake.vim
@@ -2636,7 +2636,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`