diff --git a/tests/script/test.sh b/tests/script/test.sh index 9385c73b70c2e77988cad0ea067e8497465c8051..f4979bfa5ac6c8080587b75c39428e462d49f714 100755 --- a/tests/script/test.sh +++ b/tests/script/test.sh @@ -138,11 +138,14 @@ if [ -n "$FILE_NAME" ]; then echo "AsanDir:" $ASAN_DIR/tsim.asan eval $PROGRAM -c $CFG_DIR -f $FILE_NAME 2> $ASAN_DIR/tsim.asan result=$? - echo "Execute result: " $result + echo "Execute result:" $result if [ $result -eq 0 ]; then $CODE_DIR/sh/checkAsan.sh else + echo "TSIM has asan errors" + sleep 1 + $CODE_DIR/sh/checkAsan.sh exit 1 fi fi