Added a shell script that can be used to run Valgrind on Fur programs
authorDavid Kerkeslager <kerkeslager@gmail.com>
Sun, 24 Sep 2017 22:10:17 +0000 (18:10 -0400)
committerDavid Kerkeslager <kerkeslager@gmail.com>
Sun, 24 Sep 2017 22:10:17 +0000 (18:10 -0400)
grind.sh [new file with mode: 0755]

diff --git a/grind.sh b/grind.sh
new file mode 100755 (executable)
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