Unittest-coverage: apply the changed paths of CAPI files
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 17 Jun 2019 09:34:59 +0000 (18:34 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Mon, 17 Jun 2019 22:22:24 +0000 (07:22 +0900)
CAPI files have been moved from tizen-capi to api/capi.

Note that C-API will support all other general Linux distros
and we will support C# and Java APIs as well.

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

index ccccc3a..2bed898 100644 (file)
@@ -194,7 +194,7 @@ ninja -C build %{?_smp_mflags}
     ./tests/unittest_sink --gst-plugin-path=.
     ./tests/unittest_plugins --gst-plugin-path=.
     ./tests/unittest_src_iio --gst-plugin-path=.
-    LD_LIBRARY_PATH=tizen-api ./tests/tizen_capi/unittest_tizen_capi --gst-plugin-path=.
+    ./tests/tizen_capi/unittest_tizen_capi --gst-plugin-path=.
     popd
     pushd tests
     ssat -n
@@ -218,7 +218,7 @@ DESTDIR=%{buildroot} ninja -C build %{?_smp_mflags} install
 # tests: We are not going to show testcoverage of the test code itself or example applications
 
 %if %{with tizen}
-%define testtarget $(pwd)/tizen-api
+%define testtarget $(pwd)/api/capi
 %else
 %define testtarget
 %endif