Skip to content

Commit cde20a4

Browse files
committed
clearer ident names in ctest -ll regex application
addresses review comment from @thetic.
1 parent 8dd7f6d commit cde20a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmake/Modules/_CppUTestDiscovery.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,14 +66,14 @@ string(CONCAT LL_LINE_REGEX
6666
string(REGEX MATCHALL "[^\n]+\n" discovered_test_lines "${discovered_tests}")
6767
if(TESTS_DETAILED)
6868
foreach(line IN LISTS discovered_test_lines)
69-
string(REGEX MATCH "${LL_LINE_REGEX}" __ign "${line}")
69+
string(REGEX MATCH "${LL_LINE_REGEX}" __unused "${line}")
7070
set(test_name "${CMAKE_MATCH_1}.${CMAKE_MATCH_2}")
7171
set(test_location "${CMAKE_MATCH_3}:${CMAKE_MATCH_4}")
7272
add_test_to_script("${test_name}" "${test_location}" -st)
7373
endforeach()
7474
else()
7575
foreach(line IN LISTS discovered_test_lines)
76-
string(REGEX MATCH "${LL_LINE_REGEX}" __ign "${line}")
76+
string(REGEX MATCH "${LL_LINE_REGEX}" __unused "${line}")
7777
set(test_name "${CMAKE_MATCH_1}")
7878
set(test_file "${CMAKE_MATCH_3}")
7979
set(test_line "${CMAKE_MATCH_4}")

0 commit comments

Comments
 (0)