mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
parent
3dd523bdf5
commit
6496c51c95
@ -50,8 +50,7 @@ string(REPLACE "\n" ";" output "${output}")
|
|||||||
|
|
||||||
# Parse output
|
# Parse output
|
||||||
foreach(line ${output})
|
foreach(line ${output})
|
||||||
# Test name; strip spaces to get just the name...
|
set(test ${line})
|
||||||
string(REGEX REPLACE " +" "" test "${line}")
|
|
||||||
# ...and add to script
|
# ...and add to script
|
||||||
add_command(add_test
|
add_command(add_test
|
||||||
"${prefix}${test}${suffix}"
|
"${prefix}${test}${suffix}"
|
||||||
|
Loading…
Reference in New Issue
Block a user