Exclude tests directory for coverage 64/285164/2
authorInHong Han <inhong1.han@samsung.com>
Wed, 7 Dec 2022 07:54:17 +0000 (16:54 +0900)
committerInHong Han <inhong1.han@samsung.com>
Wed, 7 Dec 2022 07:54:17 +0000 (16:54 +0900)
Change-Id: I72acc327504655def62b69a7f6fde01c2e9b69b7

packaging/capi-ui-sticker.spec

index f4a791a..76c3328 100644 (file)
@@ -129,6 +129,7 @@ builddir=$(basename $PWD)
 gcno_obj_dir=%{buildroot}%{_datadir}/gcov/obj/%{name}/"$builddir"
 mkdir -p "$gcno_obj_dir"
 find ./server/ -name '*.gcno' -exec rm {} \;
+find ./tests/ -name '*.gcno' -not -path "*/client/*" -exec rm {} \;
 find . -name '*_dbus*.gcno' -exec rm {} \;
 find . -name '*.gcno' -exec cp --parents '{}' "$gcno_obj_dir" ';'
 %endif