summaryrefslogtreecommitdiff
path: root/runv
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-11-12 20:07:31 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2019-11-12 20:07:31 -0500
commit011577f9e34205b44d5e32b0f04788bfb6a3c92b (patch)
tree57530581e1e2369ab105276b8d8349ba971d3621 /runv
parentc867081d359618c40f64d7712dfc85225ff68da7 (diff)
improved compile time params
Diffstat (limited to 'runv')
-rwxr-xr-xrunv2
1 files changed, 1 insertions, 1 deletions
diff --git a/runv b/runv
index cb14729..b636596 100755
--- a/runv
+++ b/runv
@@ -1,5 +1,5 @@
#!/bin/sh
-valgrind -q --track-origins=yes ./toc test.toc || exit 1
+valgrind -q --track-origins=yes --error-exitcode=1 ./toc test.toc || exit -1
if [ "$1" = "c" ]; then
gcc out.c && ./a.out
elif [ "$1" = "pc" ]; then