Change-Id: I29c5de4eaeb9abd116a4aa26efa26d9d3bcf60fb
Signed-off-by: Jihoon Kim <jihoon48.kim@samsung.com>
%check
%if 0%{?gcov:1}
+%if 0%{?run_unittest:1}
ctest --output-on-failure %{?_smp_mflags}
lcov -c --ignore-errors graph --no-external -q -d . -o capi-ui-sticker.info
genhtml capi-ui-sticker.info -o capi-ui-sticker.out
zip -r capi-ui-sticker.zip capi-ui-sticker.out capi-ui-sticker.info
install -m 0644 capi-ui-sticker.zip %{buildroot}%{_datadir}/gcov
%endif
+%endif
%post
/sbin/ldconfig