We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8388219 commit 9e4bf27Copy full SHA for 9e4bf27
cmake/CatchAddTests.cmake
@@ -51,7 +51,7 @@ string(REPLACE "\n" ";" output "${output}")
51
# Parse output
52
foreach(line ${output})
53
# Test name; strip spaces to get just the name...
54
- string(REGEX REPLACE " +" "" test "${line}")
+ string(REGEX REPLACE "^ +" "" test "${line}")
55
# ...and add to script
56
add_command(add_test
57
"${prefix}${test}${suffix}"
0 commit comments