Files
cmake/Tests/RunCMake/ctest_test/LabelAndIncludeEmptyClears-stdout.txt
Daksh Mamodiya 257865e1d4 CTest: Make ctest_test() label filters multi-value (AND)
The ctest(1) command line allows repeating -L/-LE to form an AND
filter over test labels, but the ctest_test() and ctest_memcheck()
scripting commands accepted only a single INCLUDE_LABEL/EXCLUDE_LABEL
value, so a dashboard script could not express that filter.

The label-matching engine already stores the include/exclude
expressions as vectors and applies them with AND semantics; only the
command binding was single-value.  Change both keywords to multi-value
(NonEmpty<vector<string>>) and hand the collected list straight to the
engine.  ctest_memcheck() gains the same behavior for free, since it
inherits the option set.

Fixes : #27497
2026-07-24 21:27:58 +02:00

11 lines
365 B
Plaintext

Start [0-9]+: RunCMakeVersion
[0-9]+/4 Test #[0-9]+: RunCMakeVersion \.+ +Passed +[0-9\.]+ sec
Start [0-9]+: test1
[0-9]+/4 Test #[0-9]+: test1 \.+ +Passed +[0-9\.]+ sec
Start [0-9]+: test2
[0-9]+/4 Test #[0-9]+: test2 \.+ +Passed +[0-9\.]+ sec
Start [0-9]+: test3
[0-9]+/4 Test #[0-9]+: test3 \.+ +Passed +[0-9\.]+ sec
+
100% tests passed out of 4