summaryrefslogtreecommitdiffstats
path: root/crawl-ref/source/misc/grind.sh
diff options
context:
space:
mode:
Diffstat (limited to 'crawl-ref/source/misc/grind.sh')
-rwxr-xr-xcrawl-ref/source/misc/grind.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/crawl-ref/source/misc/grind.sh b/crawl-ref/source/misc/grind.sh
new file mode 100755
index 0000000000..568069a6a7
--- /dev/null
+++ b/crawl-ref/source/misc/grind.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+# Convenience caller for the valgrind memory debugger
+
+nice -n 7 valgrind --tool=memcheck --leak-check=full --log-file=grind.log \
+ --suppressions=misc/valgrind-suppress.txt ./crawl $*