From: Yongjoo Ahn Date: Wed, 14 Sep 2022 02:26:12 +0000 (+0900) Subject: [packaging] Disable Aitt related files when aitt_support is not set X-Git-Tag: accepted/tizen/unified/20220919.012623~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aa36df9345d64cc4e75d60367b77b81ff02b630a;p=platform%2Fupstream%2Fnnstreamer-edge.git [packaging] Disable Aitt related files when aitt_support is not set - Exclude Aitt related files when aitt_support is not set Signed-off-by: Yongjoo Ahn --- diff --git a/packaging/nnstreamer-edge.spec b/packaging/nnstreamer-edge.spec index 421504c..65853fc 100644 --- a/packaging/nnstreamer-edge.spec +++ b/packaging/nnstreamer-edge.spec @@ -112,7 +112,10 @@ popd %if 0%{?unit_test} LD_LIBRARY_PATH=./src bash %{test_script} ./tests/unittest_nnstreamer-edge + +%if 0%{?aitt_support} LD_LIBRARY_PATH=./src bash %{test_script} ./tests/unittest_nnstreamer-edge-aitt +%endif %if 0%{?testcoverage} # 'lcov' generates the date format with UTC time zone by default. Let's replace UTC with KST. @@ -158,7 +161,10 @@ rm -rf %{buildroot} %manifest nnstreamer-edge.manifest %defattr(-,root,root,-) %{_bindir}/unittest_nnstreamer-edge + +%if 0%{?aitt_support} %{_bindir}/unittest_nnstreamer-edge-aitt +%endif %if 0%{?testcoverage} %files unittest-coverage