Add nnpkg test in coverage test (#7249)
author오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Fri, 6 Sep 2019 04:26:13 +0000 (13:26 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Fri, 6 Sep 2019 04:26:13 +0000 (13:26 +0900)
Run nnpkg test for coverage test if nnpkg test suite exists

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
infra/scripts/test_coverage.sh

index 2d9a444..7dd5ece 100755 (executable)
@@ -34,6 +34,10 @@ NEURUN_LOG_ENABLE=1 GRAPH_DOT_DUMP=1 ./infra/scripts/test_arm_neurun_acl_cl.sh
 # Interpreter
 ./infra/scripts/test_neurun_interp.sh
 
+if [[ -e ${ROOT_PATH}/tools/nnpackage_tool/nnpkg_test/nnpkg_test.sh ]]; then
+  ./infra/scripts/test_arm_nnpkg.sh
+fi
+
 # Pack coverage test data: coverage-data.tar.gz
 find Product -type f \( -iname *.gcda -or -iname *.gcno \) > include_lists.txt
 tar -zcf coverage-data.tar.gz nnas nnfw infra runtimes tools -T include_lists.txt