From: 이상규/On-Device Lab(SR)/Principal Engineer/삼성전자 Date: Mon, 14 Oct 2019 06:12:10 +0000 (+0900) Subject: [nnpkg-tcs] Run nnpkg-tcs after tc exists (#8119) X-Git-Tag: submit/tizen/20191205.083104~840 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9bd096f082666c8f9a9b67bc2a66a7da02f77ff;p=platform%2Fcore%2Fml%2Fnnfw.git [nnpkg-tcs] Run nnpkg-tcs after tc exists (#8119) Some nnpkg-tcs are not generated via `tf2tflite` test filter. Thus, nnpkg-tcs checks whether test case exists before running. Signed-off-by: Sanggyu Lee --- diff --git a/infra/scripts/test_arm_nnpkg.sh b/infra/scripts/test_arm_nnpkg.sh index 23759a3..af6b229 100755 --- a/infra/scripts/test_arm_nnpkg.sh +++ b/infra/scripts/test_arm_nnpkg.sh @@ -11,7 +11,9 @@ EXITCODE=0 PKG_LIST=$(cat tools/nnpackage_tool/nnpkg_test/list) for f in ${PKG_LIST} do - tools/nnpackage_tool/nnpkg_test/nnpkg_test.sh -d -i nnpkg-tcs $f + if [ -e "nnpkg-tcs/$f" ]; then + tools/nnpackage_tool/nnpkg_test/nnpkg_test.sh -d -i nnpkg-tcs $f + fi EXITCODE_F=$? if [ ${EXITCODE_F} -ne 0 ]; then