File tree Expand file tree Collapse file tree 3 files changed +3
-4
lines changed
Expand file tree Collapse file tree 3 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 6565 if : matrix.os == env.GH_COV_OS && github.actor != env.GH_DEPENDABOT
6666 run : |
6767 cd ${{ env.OTIO_BUILD_DIR }}
68- lcov --capture -b . --directory . --output-file=coverage.info -q --ignore-errors gcov
68+ lcov --capture -b . --directory . --output-file=coverage.info -q
6969 cat coverage.info | sed "s/SF:.*src/SF:src/g" > coverage.filtered.info
7070 lcov --remove coverage.filtered.info '*/usr/*' --output-file=coverage.filtered.info -q
7171 lcov --remove coverage.filtered.info '*/deps/*' --output-file=coverage.filtered.info -q
Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ set(CMAKE_CXX_STANDARD_REQUIRED ON)
150150set (CMAKE_CXX_EXTENSIONS OFF )
151151
152152if (OTIO_CXX_COVERAGE AND NOT MSVC )
153- set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage -fprofile-exclude-files='rapidjson/*'" )
153+ set (CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --coverage -fprofile-exclude-files='rapidjson/*' -fprofile-exclude-files=src/opentimelineio/typeRegistry.h " )
154154 # this causes cmake to produce file.gcno instead of file.cpp.gcno
155155 set (CMAKE_CXX_OUTPUT_EXTENSION_REPLACE 1)
156156 message (STATUS "Building C++ with Coverage: ON" )
Original file line number Diff line number Diff line change @@ -93,8 +93,7 @@ ifndef OTIO_CXX_BUILD_TMP_DIR
9393 not be found.)
9494endif
9595 lcov --rc lcov_branch_coverage=1 --capture -b . --directory ${OTIO_CXX_BUILD_TMP_DIR} \
96- --output-file=${OTIO_CXX_BUILD_TMP_DIR}/coverage.info -q \
97- --ignore-errors gcov
96+ --output-file=${OTIO_CXX_BUILD_TMP_DIR}/coverage.info -q
9897 cat ${OTIO_CXX_BUILD_TMP_DIR}/coverage.info | sed "s/SF:.*src/SF:src/g"\
9998 > ${OTIO_CXX_BUILD_TMP_DIR}/coverage.filtered.info
10099 lcov --rc lcov_branch_coverage=1 --remove ${OTIO_CXX_BUILD_TMP_DIR}/coverage.filtered.info '/usr/*' \
You can’t perform that action at this time.
0 commit comments