diff --git a/Help/command/create_test_sourcelist.rst b/Help/command/create_test_sourcelist.rst index d0b43c466b..92b8193254 100644 --- a/Help/command/create_test_sourcelist.rst +++ b/Help/command/create_test_sourcelist.rst @@ -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: + +```` + Run the test with the exact name ```` (case-insensitive). + +``-R `` + Run the first test whose name contains ```` (case-insensitive). + +``-A [...]`` + .. versionadded:: 3.21 + + Run all tests and print results in `TAP `_ + format. + + Any additional arguments after ``-A`` are interpreted as exact test names + to skip.