1
0
mirror of https://github.com/catchorg/Catch2.git synced 2025-04-28 03:45:44 +02:00

do not strip spaces from cmake discovered test names

this fixes 
This commit is contained in:
Markus Reitboeck 2018-05-07 22:52:37 +02:00 committed by Martin Hořeňovský
parent 3dd523bdf5
commit 6496c51c95

@ -50,8 +50,7 @@ string(REPLACE "\n" ";" output "${output}")
# Parse output
foreach(line ${output})
# Test name; strip spaces to get just the name...
string(REGEX REPLACE " +" "" test "${line}")
set(test ${line})
# ...and add to script
add_command(add_test
"${prefix}${test}${suffix}"