@@ -127,22 +127,22 @@ if (COVERAGE STREQUAL true)
127127 add_custom_command (TARGET lcov
128128 COMMAND echo "=================== LCOV ===================="
129129 COMMAND echo "-- Passing lcov tool under code coverage"
130- COMMAND lcov --c --d CMakeFiles/commonLib.dir --o lcoverage/coverage.info --ignore -errors inconsistent,inconsistent
131- COMMAND lcov --remove lcoverage/coverage.info "/usr/include/c++/11/*" -o lcoverage/coverage.info --keep-going
132- COMMAND lcov --remove lcoverage/coverage.info "/usr/include/c++/11/bits/*" -o lcoverage/coverage.info --keep-going
133- COMMAND lcov --remove lcoverage/coverage.info "/usr/include/c++/11/ext/*" -o lcoverage/coverage.info --keep-going
134- COMMAND lcov --remove lcoverage/coverage.info "/usr/include/x86_64-linux-gnu/c++/11/bits/*" -o lcoverage/coverage.info --keep-going
135- COMMAND lcov --remove lcoverage/coverage.info "/usr/include/c++/12/*" -o lcoverage/coverage.info --keep-going
136- COMMAND lcov --remove lcoverage/coverage.info "/usr/include/c++/12/bits/*" -o lcoverage/coverage.info --keep-going
137- COMMAND lcov --remove lcoverage/coverage.info "/usr/include/c++/12/ext/*" -o lcoverage/coverage.info --keep-going
138- COMMAND lcov --remove lcoverage/coverage.info "/usr/include/x86_64-linux-gnu/c++/12/bits/*" -o lcoverage/coverage.info --keep-going
139- COMMAND lcov --remove lcoverage/coverage.info "*/commonItems/external/googletest/googlemock/include/gmock/*" -o lcoverage/coverage.info --keep-going
140- COMMAND lcov --remove lcoverage/coverage.info "*/commonItems/external/googletest/googlemock/include/gmock/internal/*" -o lcoverage/coverage.info --keep-going
141- COMMAND lcov --remove lcoverage/coverage.info "*/commonItems/external/googletest/googletest/include/gtest/*" -o lcoverage/coverage.info --keep-going
142- COMMAND lcov --remove lcoverage/coverage.info "*/commonItems/external/googletest/googletest/include/gtest/internal/*" -o lcoverage/coverage.info --keep-going
143- COMMAND lcov --remove lcoverage/coverage.info "*/commonItems/external/json/single_include/nlohmann/*" -o lcoverage/coverage.info --keep-going
130+ COMMAND lcov --c --d CMakeFiles/commonLib.dir --o lcoverage/coverage.info --ignore -errors inconsistent,inconsistent,unused,unused
131+ COMMAND lcov --remove lcoverage/coverage.info "/usr/include/c++/11/*" -o lcoverage/coverage.info ignore -errors inconsistent,inconsistent,unused,unused
132+ COMMAND lcov --remove lcoverage/coverage.info "/usr/include/c++/11/bits/*" -o lcoverage/coverage.info ignore -errors inconsistent,inconsistent,unused,unused
133+ COMMAND lcov --remove lcoverage/coverage.info "/usr/include/c++/11/ext/*" -o lcoverage/coverage.info ignore -errors inconsistent,inconsistent,unused,unused
134+ COMMAND lcov --remove lcoverage/coverage.info "/usr/include/x86_64-linux-gnu/c++/11/bits/*" -o lcoverage/coverage.info ignore -errors inconsistent,inconsistent,unused,unused
135+ COMMAND lcov --remove lcoverage/coverage.info "/usr/include/c++/12/*" -o lcoverage/coverage.info ignore -errors inconsistent,inconsistent,unused,unused
136+ COMMAND lcov --remove lcoverage/coverage.info "/usr/include/c++/12/bits/*" -o lcoverage/coverage.info ignore -errors inconsistent,inconsistent,unused,unused
137+ COMMAND lcov --remove lcoverage/coverage.info "/usr/include/c++/12/ext/*" -o lcoverage/coverage.info ignore -errors inconsistent,inconsistent,unused,unused
138+ COMMAND lcov --remove lcoverage/coverage.info "/usr/include/x86_64-linux-gnu/c++/12/bits/*" -o lcoverage/coverage.info ignore -errors inconsistent,inconsistent,unused,unused
139+ COMMAND lcov --remove lcoverage/coverage.info "*/commonItems/external/googletest/googlemock/include/gmock/*" -o lcoverage/coverage.info ignore -errors inconsistent,inconsistent,unused,unused
140+ COMMAND lcov --remove lcoverage/coverage.info "*/commonItems/external/googletest/googlemock/include/gmock/internal/*" -o lcoverage/coverage.info ignore -errors inconsistent,inconsistent,unused,unused
141+ COMMAND lcov --remove lcoverage/coverage.info "*/commonItems/external/googletest/googletest/include/gtest/*" -o lcoverage/coverage.info ignore -errors inconsistent,inconsistent,unused,unused
142+ COMMAND lcov --remove lcoverage/coverage.info "*/commonItems/external/googletest/googletest/include/gtest/internal/*" -o lcoverage/coverage.info ignore -errors inconsistent,inconsistent,unused,unused
143+ COMMAND lcov --remove lcoverage/coverage.info "*/commonItems/external/json/single_include/nlohmann/*" -o lcoverage/coverage.info ignore -errors inconsistent,inconsistent,unused,unused
144144 COMMAND echo "-- Generating HTML output files"
145- COMMAND genhtml lcoverage/coverage.info --output -directory lcoverage --keep-going
145+ COMMAND genhtml lcoverage/coverage.info --output -directory lcoverage ignore -errors inconsistent,inconsistent,unused,unused
146146 )
147147
148148 # Make sure to clean up the coverage folder
0 commit comments