feat: add lcov exclude path 21/273821/1
authorDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 14 Apr 2022 06:01:45 +0000 (15:01 +0900)
committerDongHun Kwak <dh0128.kwak@samsung.com>
Thu, 14 Apr 2022 06:01:45 +0000 (15:01 +0900)
- add exclude path rule
  $PWD/tests/include/*

Change-Id: Ib960adbf1f371cf9d4ff02edd0ea048737c85db3

packaging/capi-base-utils.spec

index 7febb31..c8a2722 100755 (executable)
@@ -112,7 +112,7 @@ install -m 0755 run-unittest.sh %{buildroot}%{_bindir}/tizen-unittests/%{name}/
 %check
 %if 0%{?gcov:1}
 tests/tct-base-utils-core
-lcov -c --ignore-errors graph --no-external -b . -d . -o %{name}.info
+lcov -c --ignore-errors graph --no-external -b . -d . --exclude "$PWD/tests/include/*" -o %{name}.info
 genhtml %{name}.info -o out --legend --show-details
 %endif