summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author오형석/On-Device Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>2019-04-11 05:38:16 (GMT)
committer박세희/On-Device Lab(SR)/Principal Engineer/삼성전자 <saehie.park@samsung.com>2019-04-11 05:38:16 (GMT)
commiteaa17c3dd65f9959cedf6283d8d28171cfdcace0 (patch)
tree5a1e7bffad7da518ec2339a8f42cbf5fab1ff7d5
parent6c9b0771af355f0f106a3d441beb8b3f453b3f90 (diff)
downloadnnfw-eaa17c3dd65f9959cedf6283d8d28171cfdcace0.zip
nnfw-eaa17c3dd65f9959cedf6283d8d28171cfdcace0.tar.gz
nnfw-eaa17c3dd65f9959cedf6283d8d28171cfdcace0.tar.bz2
Add more coverage test (#4977)
* Add more coverage test Call scripts for each backend test Add acl_neon backend kernel test Add dataflow executor test Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com> * Fix script name typo
-rwxr-xr-xscripts/standalone/test_coverage.sh25
1 files changed, 4 insertions, 21 deletions
diff --git a/scripts/standalone/test_coverage.sh b/scripts/standalone/test_coverage.sh
index 15ee04d..8e2d830 100755
--- a/scripts/standalone/test_coverage.sh
+++ b/scripts/standalone/test_coverage.sh
@@ -23,29 +23,12 @@ export GCOV_PREFIX_STRIP=`cat $ROOT_PATH/tests/scripts/build_path_depth.txt`
pushd $ROOT_PATH > /dev/null
-export OP_BACKEND_ALLOPS=acl_cl
-cp -v ./Product/out/unittest/nnapi_gtest.skip.armv7l-linux.neurun ./Product/out/unittest/nnapi_gtest.skip
-source tests/scripts/test_driver.sh \
- --frameworktest_list_file=tests/scripts/neurun_frameworktest_list.armv7l.acl_cl.txt \
- --ldlibrarypath="$ROOT_PATH/Product/out/lib/neurun:$ROOT_PATH/Product/out/lib" \
- --reportdir="$ROOT_PATH/report/acl_cl" .
-
-export OP_BACKEND_ALLOPS=cpu
-cp -v ./Product/out/unittest/nnapi_gtest.skip.armv7l-linux.neurun.cpu ./Product/out/unittest/nnapi_gtest.skip
-source tests/scripts/test_driver.sh \
- --frameworktest_list_file=tests/scripts/neurun_frameworktest_list.armv7l.cpu.txt \
- --ldlibrarypath="$ROOT_PATH/Product/out/lib/neurun:$ROOT_PATH/Product/out/lib" \
- --reportdir="$ROOT_PATH/report/cpu" .
+./scripts/standalone/test_arm_neurun_acl_cl.sh
+./scripts/standalone/test_arm_neurun_acl_neon.sh
+./scripts/standalone/test_arm_neurun_cpu.sh
# Enable all logs (acl_cl kernel)
-export OP_BACKEND_ALLOPS=acl_cl
-export NEURUN_LOG_ENABLE=1
-export GRAPH_DOT_DUMP=1
-cp -v ./Product/out/unittest/nnapi_gtest.skip.armv7l-linux.neurun ./Product/out/unittest/nnapi_gtest.skip
-source tests/scripts/test_driver.sh \
- --frameworktest_list_file=tests/scripts/neurun_frameworktest_list.armv7l.acl_cl.txt \
- --ldlibrarypath="$ROOT_PATH/Product/out/lib/neurun:$ROOT_PATH/Product/out/lib" \
- --reportdir="$ROOT_PATH/report/acl_cl" .
+NEURUN_LOG_ENABLE=1 GRAPH_DOT_DUMP=1 ./scripts/standalone/test_arm_neurun_acl_cl.sh
mkdir -p gcov
find Product -type f \( -iname *.gcda -or -iname *.gcno \) -exec mv {} ./gcov/. \;