JSONReporter's listTests only lists class-name if it is non-empty
This commit is contained in:
12 files changed
+33
-44
No files matched your search
@@ -326,7 +326,7 @@ function(catch_discover_tests_impl)
|
||||
|
||||
# Parse JSON output for list of tests/class names/tags
|
||||
string(JSON version GET "${listing_output}" "version")
|
||||
if(NOT version STREQUAL "1")
|
||||
if(NOT version STREQUAL "2")
|
||||
message(FATAL_ERROR "Unsupported catch output version: '${version}'")
|
||||
endif()
|
||||
|
||||
|
||||
Reference in new issue
Block a user