From b9bd096f082666c8f9a9b67bc2a66a7da02f77ff Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=9D=B4=EC=83=81=EA=B7=9C/On-Device=20Lab=28SR=29/Princip?= =?utf8?q?al=20Engineer/=EC=82=BC=EC=84=B1=EC=A0=84=EC=9E=90?= Date: Mon, 14 Oct 2019 15:12:10 +0900 Subject: [PATCH] [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 --- infra/scripts/test_arm_nnpkg.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- 2.7.4