From b7f83c37a4aee059d70650fba673ab001bd3c47e Mon Sep 17 00:00:00 2001 From: Daniel Pfeifer Date: Mon, 23 Mar 2026 22:17:07 +0100 Subject: [PATCH] create_test_sourcelist: Document command line arguments --- Help/command/create_test_sourcelist.rst | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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.