Fixed a build error due to lcov 2.0 upgrade 28/307628/1 accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20240313.134006 accepted/tizen/unified/20240313.135256 accepted/tizen/unified/x/20240314.073416
authorJihoon Jung <jh8801.jung@samsung.com>
Tue, 12 Mar 2024 04:29:35 +0000 (13:29 +0900)
committerJihoon Jung <jh8801.jung@samsung.com>
Tue, 12 Mar 2024 05:09:52 +0000 (14:09 +0900)
Change-Id: I54f90d31b9ed2dc1f7a434e1ee161e9dc3e2eebd
Signed-off-by: Jihoon Jung <jh8801.jung@samsung.com>
debian/rules
packaging/aitt.spec

index 8a2ac15..a714440 100755 (executable)
@@ -65,7 +65,7 @@ override_dh_auto_test:
        ctest --output-on-failure --timeout 100
 
        if [ ${TEST} -ne 0 -a ${COVERAGE} -ne 0 ]; then \
-               lcov -c --ignore-errors graph --no-external -b . -d . -o ${AITT_BUILD_ROOT_PATH}/aitt_gcov.info; \
+               lcov -c --ignore-errors mismatch,graph,unused --no-external -b . -d . -o ${AITT_BUILD_ROOT_PATH}/aitt_gcov.info; \
                genhtml ${AITT_BUILD_ROOT_PATH}/aitt_gcov.info -o ${AITT_BUILD_ROOT_PATH}/html --legend --show-details; \
        fi
 .PHONY: override_dh_link
index 8d4b9a3..640c9ae 100644 (file)
@@ -94,7 +94,7 @@ ctest --output-on-failure --timeout 30 || true
 
 %if 0%{test} && 0%{gcov}
 # Extract coverage information
-lcov -c --ignore-errors graph --no-external -b . -d . -o %{name}_gcov.info
+lcov -c --ignore-errors mismatch,graph,unused --no-external -b . -d . -o %{name}_gcov.info
 genhtml %{name}_gcov.info -o out --legend --show-details
 %endif