From 377c6f0670bc6e7c29e0125e276fe4442c0d739c Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EC=9D=B4=EC=B6=98=EC=84=9D/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Senior=20Engineer/=EC=82=BC=EC=84=B1?= =?utf8?q?=EC=A0=84=EC=9E=90?= Date: Wed, 11 Apr 2018 19:20:30 +0900 Subject: [PATCH] exit when unittet fail (#587) --- tools/test_driver/test_driver.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tools/test_driver/test_driver.sh b/tools/test_driver/test_driver.sh index 86c3cc5..dfa90d5 100755 --- a/tools/test_driver/test_driver.sh +++ b/tools/test_driver/test_driver.sh @@ -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" -- 2.7.4