summaryrefslogtreecommitdiffstats
path: root/Help/manual
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-01-26 15:14:49 (GMT)
committerKitware Robot <kwrobot@kitware.com>2024-01-26 15:14:58 (GMT)
commitd9b9f630832174c2b6ee31d8a06f6e587ab2dd84 (patch)
tree2e9096991944408275534306f4d9573e75d4d83e /Help/manual
parent409ab01039dd3c8f5ae0df48a1ee1c356132a9bf (diff)
parent701029726f17759a84b963e2f318742a1761670a (diff)
downloadCMake-d9b9f630832174c2b6ee31d8a06f6e587ab2dd84.zip
CMake-d9b9f630832174c2b6ee31d8a06f6e587ab2dd84.tar.gz
CMake-d9b9f630832174c2b6ee31d8a06f6e587ab2dd84.tar.bz2
Merge topic 'ctest-tests-from-file'
701029726f ctest_test: add options INCLUDE_FROM_FILE and EXCLUDE_FROM_FILE dbacc1d5a8 ctest: add command line option to exclude tests listed in a given file 022f20f663 ctest: add command line option to run the tests listed in a given file Acked-by: Kitware Robot <kwrobot@kitware.com> Acked-by: Alex <leha-bot@yandex.ru> Merge-request: !9128
Diffstat (limited to 'Help/manual')
-rw-r--r--Help/manual/ctest.1.rst24
1 files changed, 24 insertions, 0 deletions
diff --git a/Help/manual/ctest.1.rst b/Help/manual/ctest.1.rst
index 1924d4f..602a82d 100644
--- a/Help/manual/ctest.1.rst
+++ b/Help/manual/ctest.1.rst
@@ -234,6 +234,30 @@ Run Tests
of the test's labels (i.e. the multiple ``-LE`` labels form an ``AND``
relationship). See `Label Matching`_.
+.. option:: --tests-from-file <filename>
+
+ .. versionadded:: 3.29
+
+ Run tests listed in the given file.
+
+ This option tells CTest to run the tests which are listed in the given
+ file. The file must contain one exact test name per line.
+ Lines can be commented out using a ``#``.
+ This option can be combined with the other options like
+ ``-R``, ``-E``, ``-L`` or ``-LE``.
+
+.. option:: --exclude-from-file <filename>
+
+ .. versionadded:: 3.29
+
+ Exclude tests listed in the given file.
+
+ This option tells CTest to NOT run the tests which are listed in the given
+ file. The file must contain one exact test name per line.
+ Lines can be commented out using a ``#``.
+ This option can be combined with the other options like
+ ``-R``, ``-E``, ``-L`` or ``-LE``.
+
.. option:: -FA <regex>, --fixture-exclude-any <regex>
Exclude fixtures matching ``<regex>`` from automatically adding any tests to