exit when unittet fail (#587)
author이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 <chunseok.lee@samsung.com>
Wed, 11 Apr 2018 10:20:30 +0000 (19:20 +0900)
committer오형석/동작제어Lab(SR)/Senior Engineer/삼성전자 <hseok82.oh@samsung.com>
Wed, 11 Apr 2018 10:20:30 +0000 (19:20 +0900)
tools/test_driver/test_driver.sh

index 86c3cc5..dfa90d5 100755 (executable)
@@ -1,5 +1,5 @@
 #!/bin/bash
-
+set -e
 # NOTE: Supposed that this script would be executed with an artifact path.
 #       The artifact path has tests/(test suite) and Product/
 #       Reference this PR(https://github.sec.samsung.net/STAR/nnfw/pull/375).
@@ -47,6 +47,7 @@ echo "============================================"
 echo ""
 
 # Run nnapi_test with various tflite models
+set +e
 export DRIVER_BIN=$ARTIFACT_PATH/Product/out/bin/nnapi_test
 echo ""
 echo "Verification with nnapi_test"