Tests can now be built as part of FSFW and versioning moved to CMake #500
|
@ -194,6 +194,8 @@ if(FSFW_BUILD_UNITTESTS)
|
|||
elseif(UNIX)
|
||||
set(COVERAGE_EXCLUDES
|
||||
"/usr/include/*" "/usr/bin/*" "Catch2/*"
|
||||
|
||||
"/usr/local/include/*" "*/fsfw_tests/*"
|
||||
"/catch2-src/*"
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user
for me,
"*/catch2-src/*"
was needed to get catch2 out of the reports.How do you feel about adding
"*/fsfw_tests/*"
as well, seems to be a bit too meta to coverage the coverage tests.I actually installed catch2 and did not have that issue, I can add that directive. Adding the tests makes sense as well
Added the excludes
missing a leading * as in
"*/catch2-src/*"
, as catch2 is stashed away somewhere by cmake.Done