[CI] Add /ext/* to unit-test-coverage scope
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 22 Feb 2019 04:11:53 +0000 (13:11 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 26 Feb 2019 10:18:41 +0000 (19:18 +0900)
The files in /ext/* are officially released code.
Publish the lcov result.

This prepares #1153

Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
packaging/nnstreamer.spec

index 4d56431..561eca3 100644 (file)
@@ -134,7 +134,7 @@ DESTDIR=%{buildroot} ninja -C build %{?_smp_mflags} install
 # 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)/tests/unittestcoverage.py module $(pwd)/gst $(pwd)/ext
 
 # Get commit info
     VCS=`cat ${RPM_SOURCE_DIR}/nnstreamer.spec | grep "^VCS:" | sed "s|VCS:\\W*\\(.*\\)|\\1|"`