This patch reduces the scope for checking line coverage. The line
coverage is for checking client API, so other files in this repo is not
target of the line coverage test.
Change-Id: If76a08f5e5402c1db8a455d4593472c588c1eb07
Signed-off-by: Suyeon Hwang <stom.hwang@samsung.com>
BuildRequires: gettext-tools
BuildRequires: pkgconfig(gmock)
+%if 0%{?gcov:1}
+BuildRequires: lcov
+BuildRequires: zip
+%endif
+
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
builddir=$(basename $PWD)
gcno_obj_dir=%{buildroot}%{_datadir}/gcov/obj/%{name}/"$builddir"
mkdir -p "$gcno_obj_dir"
+find ./tests/ -name '*.gcno' -exec rm {} \;
+find . -name 'vc_elm_*.gcno' -exec rm {} \;
find . -name '*.gcno' -exec cp --parents '{}' "$gcno_obj_dir" ';'
%endif
test_main() {
echo "test_main start"
- launch_app org.tizen.vc-elm-unittests
+ launch_app org.tizen.vc-elm-unittests __AUL_SDK__ UNIT_TEST __LAUNCH_APP_MODE__ SYNC
}
teardown() {