Skip to content

Commit

Permalink
[Tizen] Fix gcov build error
Browse files Browse the repository at this point in the history
Due to the lcov 2.0 upgrade, the warning is changed to error so the gcov build fails.
Ignore this case. (Tizen PM guide)

Signed-off-by: gichan2-jang <[email protected]>
  • Loading branch information
gichan-jang authored and again4you committed Mar 19, 2024
1 parent 89acea4 commit 11a291e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packaging/nnstreamer-edge.spec
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,9 @@ find . -name "*.gcno" -exec sh -c 'touch -a "${1%.gcno}.gcda"' _ {} \;
find . -name "CMakeCCompilerId*.gcda" -delete
find . -name "CMakeCXXCompilerId*.gcda" -delete
# Generate report
lcov -t 'NNStreamer-edge unittest coverage' -o unittest.info -c -d . -b $(pwd) --no-external
lcov -t 'NNStreamer-edge unittest coverage' -o unittest.info -c -d . -b $(pwd) --no-external --ignore-errors mismatch
# Exclude test files.
lcov -r unittest.info "*/tests/*" -o unittest-filtered.info
lcov -r unittest.info "*/tests/*" -o unittest-filtered.info --ignore-errors graph,unused
# Visualize the report
genhtml -o result unittest-filtered.info -t "NNStreamer-edge %{version}-%{release} ${VCS}" --ignore-errors source -p ${RPM_BUILD_DIR}

Expand Down

0 comments on commit 11a291e

Please sign in to comment.