From 85dd9abe3cd977cd7f9bdeb9aea15c5b4135d0b2 Mon Sep 17 00:00:00 2001 From: David Kerkeslager Date: Sun, 24 Sep 2017 18:10:17 -0400 Subject: [PATCH] Added a shell script that can be used to run Valgrind on Fur programs --- grind.sh | 3 +++ 1 file changed, 3 insertions(+) create mode 100755 grind.sh diff --git a/grind.sh b/grind.sh new file mode 100755 index 0000000..4aa9d1e --- /dev/null +++ b/grind.sh @@ -0,0 +1,3 @@ +python main.py $1 +gcc -ggdb3 "$1".c +valgrind --tool=memcheck --leak-check=yes --show-reachable=yes --num-callers=20 --track-fds=yes --error-exitcode=666 ./a.out -- 2.20.1