diff options
author | Andrés <andmarti@gmail.com> | 2021-06-02 14:35:26 -0300 |
---|---|---|
committer | Andrés <andmarti@gmail.com> | 2021-06-02 14:35:26 -0300 |
commit | f94b16bfb779d6c5279628030dfe6f992518735d (patch) | |
tree | 570d1dae58bf61dacd8610ea2003d4609b7eecca /tests/test1.sh | |
parent | a8c21be20d841aed9b38aa6876eac4e1ecd6004a (diff) |
Added script to run all tests
Diffstat (limited to 'tests/test1.sh')
-rwxr-xr-x[-rw-r--r--] | tests/test1.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test1.sh b/tests/test1.sh index bfd710e..661219d 100644..100755 --- a/tests/test1.sh +++ b/tests/test1.sh @@ -6,7 +6,6 @@ set -e NAME=test1 -echo -n $NAME": " VALGRIND_CMD='valgrind -v --log-file=${NAME}_vallog --tool=memcheck --track-origins=yes --leak-check=full --show-leak-kinds=all --show-reachable=no' . assert.sh assert "echo GETNUM C2 | $VALGRIND_CMD ../src/sc-im ${NAME}.sc --nocurses --nodebug --quit_afterload 2>&1 |grep -v '^$\|Interp'" "81" @@ -15,4 +14,5 @@ assert "echo GETNUM C2 | $VALGRIND_CMD ../src/sc-im ${NAME}.sc --nocurses --node #"in use at exit: 0 bytes in 0 blocks" #"All heap blocks were freed -- no leaks are possible" +rm ${NAME}_vallog assert_end test1 |