Skip to content

Commit

Permalink
[Test] Fix test coverage generation failure
Browse files Browse the repository at this point in the history
Test coverage resultes are not printed.
Current: https://nnstreamer.github.io/testresult/nnstreamer-edge/

Signed-off-by: Gichan Jang <[email protected]>
  • Loading branch information
gichan-jang authored and jaeyun-jung committed Jan 13, 2025
1 parent 44741a5 commit 1a38977
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packaging/nnstreamer-edge.spec
Original file line number Diff line number Diff line change
@@ -162,7 +162,6 @@ VCS=`cat ${RPM_SOURCE_DIR}/nnstreamer-edge.spec | grep "^VCS:" | sed "s|VCS:\\W*
# Create human readable coverage report web page.
# Generate report and exclude test files.
# Set different lcov options for Tizen/lcov versions.
pushd build
%if 0%{tizen_version_major} >= 9
lcov -t 'NNStreamer-edge unittest coverage' -o unittest_test.info -c -d . -b %{builddir} --no-external --ignore-errors mismatch,empty
lcov -a unittest_base.info -a unittest_test.info -o unittest_total.info --ignore-errors mismatch,empty
@@ -176,7 +175,6 @@ genhtml -o result unittest-filtered.info -t "NNStreamer-edge %{version}-%{releas

mkdir -p %{buildroot}%{_datadir}/nnstreamer-edge/unittest/
cp -r result %{buildroot}%{_datadir}/nnstreamer-edge/unittest/
popd
%endif # testcoverage
%endif # unittest

0 comments on commit 1a38977

Please sign in to comment.