diff options
author | Brad King <brad.king@kitware.com> | 2024-03-08 21:07:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-03-08 21:25:33 (GMT) |
commit | 1a4837641e8fad5d8a0c611ca1c70543c5748fe2 (patch) | |
tree | 7155dfda7d5000b14d5f9992a6d773103c371542 /Tests | |
parent | d52c66bfb3ec6bbf79fab9ef6ff4cdc9ba27a45b (diff) | |
download | CMake-1a4837641e8fad5d8a0c611ca1c70543c5748fe2.zip CMake-1a4837641e8fad5d8a0c611ca1c70543c5748fe2.tar.gz CMake-1a4837641e8fad5d8a0c611ca1c70543c5748fe2.tar.bz2 |
ctest: Remove unnecessary and ambiguous tests-from-file comment syntax
Test names can contain `#`. Since we ignore lines that do not match any
test names anyway, "commenting" can still work without explicit syntax.
Also drop whitespace trimming for similar reasons.
Fixes: #25741
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/RunCMake/CTestCommandLine/TestsFromFile-TestList.txt | 3 | ||||
-rw-r--r-- | Tests/RunCMake/ctest_test/TestsFromFile-TestList.txt | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/Tests/RunCMake/CTestCommandLine/TestsFromFile-TestList.txt b/Tests/RunCMake/CTestCommandLine/TestsFromFile-TestList.txt index 91f6504..975a21c 100644 --- a/Tests/RunCMake/CTestCommandLine/TestsFromFile-TestList.txt +++ b/Tests/RunCMake/CTestCommandLine/TestsFromFile-TestList.txt @@ -1,2 +1,5 @@ Test1 + +est + Test11 # Test11 diff --git a/Tests/RunCMake/ctest_test/TestsFromFile-TestList.txt b/Tests/RunCMake/ctest_test/TestsFromFile-TestList.txt index 91f6504..975a21c 100644 --- a/Tests/RunCMake/ctest_test/TestsFromFile-TestList.txt +++ b/Tests/RunCMake/ctest_test/TestsFromFile-TestList.txt @@ -1,2 +1,5 @@ Test1 + +est + Test11 # Test11 |