diff options
author | Leo Tenenbaum <pommicket@gmail.com> | 2019-11-30 19:38:28 -0500 |
---|---|---|
committer | Leo Tenenbaum <pommicket@gmail.com> | 2019-11-30 19:38:28 -0500 |
commit | d24409b9bf4783be63109f59d8558cef884069e6 (patch) | |
tree | a1886005cc1e65bed5d03f493149874d8e4398b6 /runv | |
parent | e8cd3b66a9bf20e5a68147a9882685299d40f495 (diff) |
fixed some bugs involving returning types
Diffstat (limited to 'runv')
-rwxr-xr-x | runv | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -4,7 +4,13 @@ if [ "$2" = "" ]; then else tocf="$2" fi -valgrind -q --track-origins=yes --error-exitcode=1 --malloc-fill=0xcd --free-fill=0xef --num-callers=100 ./toc $tocf || exit 1 +if [ "$1" = "noq" ]; then + FLAGS= +else + FLAGS="-q" +fi + +valgrind $FLAGS --track-origins=yes --error-exitcode=1 --malloc-fill=0xcd --free-fill=0xef --num-callers=100 ./toc $tocf || exit 1 if [ "$1" = "c" ]; then gcc out.c && ./a.out elif [ "$1" = "pc" ]; then |