Count test-coverage of Tizen/API.
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
# Intentionally excluded directories are:
#
# tests: We are not going to show testcoverage of the test code itself or example applications
- $(pwd)/tests/unittestcoverage.py module $(pwd)/gst $(pwd)/ext
+
+%if %{with tizen}
+%define testtarget $(pwd)/tizen-api
+%else
+%define testtarget
+%endif
+
+ $(pwd)/tests/unittestcoverage.py module $(pwd)/gst $(pwd)/ext %testtarget
# Get commit info
VCS=`cat ${RPM_SOURCE_DIR}/nnstreamer.spec | grep "^VCS:" | sed "s|VCS:\\W*\\(.*\\)|\\1|"`