diff options
author | Adriaan de Groot <groot@kde.org> | 2021-03-20 05:53:14 (GMT) |
---|---|---|
committer | Craig Scott <craig.scott@crascit.com> | 2021-03-28 01:04:05 (GMT) |
commit | 44ad3f0b7f7e0aaf96e5cfd672d07a70e1b76410 (patch) | |
tree | a6da9b5be6095fffcb7072ae6cf040d7c54ba2e5 /Source/ctest.cxx | |
parent | 61fd90b90c9dfec154aee7fb4d97574921e651d1 (diff) | |
download | CMake-44ad3f0b7f7e0aaf96e5cfd672d07a70e1b76410.zip CMake-44ad3f0b7f7e0aaf96e5cfd672d07a70e1b76410.tar.gz CMake-44ad3f0b7f7e0aaf96e5cfd672d07a70e1b76410.tar.bz2 |
ctest: Support multiple -L and -LE options to mean "AND"
Fixes: #21087
Diffstat (limited to 'Source/ctest.cxx')
-rw-r--r-- | Source/ctest.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/ctest.cxx b/Source/ctest.cxx index 3c331d3..a4b85ae 100644 --- a/Source/ctest.cxx +++ b/Source/ctest.cxx @@ -55,8 +55,9 @@ static const char* cmDocumentationOptions[][2] = { "format of the test information and can be 'human' for the current text " "format or 'json-v1' for json format. Defaults to 'human'." }, { "-L <regex>, --label-regex <regex>", - "Run tests with labels matching " - "regular expression." }, + "Run tests with labels matching regular expression. " + "With multiple -L, run tests where each " + "regular expression matches at least one label." }, { "-R <regex>, --tests-regex <regex>", "Run tests matching regular " "expression." }, @@ -64,8 +65,9 @@ static const char* cmDocumentationOptions[][2] = { "Exclude tests matching regular " "expression." }, { "-LE <regex>, --label-exclude <regex>", - "Exclude tests with labels " - "matching regular expression." }, + "Exclude tests with labels matching regular expression. " + "With multiple -LE, exclude tests where each " + "regular expression matches at least one label." }, { "-FA <regex>, --fixture-exclude-any <regex>", "Do not automatically " "add any tests for " |