mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-04 14:50:23 +00:00
create_test_sourcelist: Document command line arguments
This commit is contained in:
committed by
Brad King
parent
8600ce6547
commit
b7f83c37a4
@@ -60,3 +60,20 @@ Additionally, some CMake variables affect test driver generation:
|
||||
.. variable:: CMAKE_TESTDRIVER_AFTER_TESTMAIN
|
||||
|
||||
Code to be placed directly after the call to each test's function.
|
||||
|
||||
The generated test driver supports the following command-line arguments:
|
||||
|
||||
``<name>``
|
||||
Run the test with the exact name ``<name>`` (case-insensitive).
|
||||
|
||||
``-R <substr>``
|
||||
Run the first test whose name contains ``<substr>`` (case-insensitive).
|
||||
|
||||
``-A [<skip_test>...]``
|
||||
.. versionadded:: 3.21
|
||||
|
||||
Run all tests and print results in `TAP <https://testanything.org/>`_
|
||||
format.
|
||||
|
||||
Any additional arguments after ``-A`` are interpreted as exact test names
|
||||
to skip.
|
||||
|
||||
Reference in New Issue
Block a user