summaryrefslogtreecommitdiffstats
path: root/Help/command/ctest_test.rst
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2023-12-03 16:59:10 (GMT)
committerBrad King <brad.king@kitware.com>2024-01-25 17:38:04 (GMT)
commit701029726f17759a84b963e2f318742a1761670a (patch)
tree50f7433fa86cb9a74bead4214cae34e44500a48e /Help/command/ctest_test.rst
parentdbacc1d5a8c189289fe651ed9db892d9639354c6 (diff)
downloadCMake-701029726f17759a84b963e2f318742a1761670a.zip
CMake-701029726f17759a84b963e2f318742a1761670a.tar.gz
CMake-701029726f17759a84b963e2f318742a1761670a.tar.bz2
ctest_test: add options INCLUDE_FROM_FILE and EXCLUDE_FROM_FILE
These options can be used to specify files which can be used to restrict the set of tests that will be executed. Fixes: #25455
Diffstat (limited to 'Help/command/ctest_test.rst')
-rw-r--r--Help/command/ctest_test.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Help/command/ctest_test.rst b/Help/command/ctest_test.rst
index cf20ade..4d56577 100644
--- a/Help/command/ctest_test.rst
+++ b/Help/command/ctest_test.rst
@@ -13,6 +13,8 @@ Perform the :ref:`CTest Test Step` as a :ref:`Dashboard Client`.
[INCLUDE <include-regex>]
[EXCLUDE_LABEL <label-exclude-regex>]
[INCLUDE_LABEL <label-include-regex>]
+ [EXCLUDE_FROM_FILE <filename>]
+ [INCLUDE_FROM_FILE <filename>]
[EXCLUDE_FIXTURE <regex>]
[EXCLUDE_FIXTURE_SETUP <regex>]
[EXCLUDE_FIXTURE_CLEANUP <regex>]
@@ -72,6 +74,16 @@ The options are:
Specify a regular expression matching test labels to include.
Tests not matching this expression are excluded.
+``EXCLUDE_FROM_FILE <filename>``
+ .. versionadded:: 3.29
+
+ Do NOT run tests listed with their exact name in the given file.
+
+``INCLUDE_FROM_FILE <filename>``
+ .. versionadded:: 3.29
+
+ Only run the tests listed with their exact name in the given file.
+
``EXCLUDE_FIXTURE <regex>``
.. versionadded:: 3.7