From ca39258a66c53b531b07d3bb51fa8166b5c5977f Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 26 Jul 2024 10:34:46 -0400 Subject: Help: Fix typo in add_test documentation --- Auxiliary/vim/syntax/cmake.vim | 1 - Help/command/add_test.rst | 2 +- 2 files changed, 1 insertion(+), 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` -- cgit v0.12