diff --git a/test/unittest.sh b/test/unittest.sh old mode 100644 new mode 100755 index e87dca2671..a94beb6017 --- a/test/unittest.sh +++ b/test/unittest.sh @@ -1,4 +1,5 @@ #!/bin/bash +set -e CWD=${PWD} # -------------For python unittest------------- @@ -25,4 +26,4 @@ python3 -m unittest discover -v tests cd ${CWD}/../src/nni_manager echo "" echo "===========================Testing: nni_manager===========================" -npm run test \ No newline at end of file +npm run test