summaryrefslogtreecommitdiff
path: root/test/fullcheck.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/fullcheck.sh')
-rwxr-xr-xtest/fullcheck.sh18
1 files changed, 18 insertions, 0 deletions
diff --git a/test/fullcheck.sh b/test/fullcheck.sh
new file mode 100755
index 00000000..f3c20dd2
--- /dev/null
+++ b/test/fullcheck.sh
@@ -0,0 +1,18 @@
+#!/bin/sh
+
+VALGRIND=''
+if [ -x /usr/bin/valgrind ]; then
+ VALGRIND=valgrind
+fi
+
+export MallocGuardEdges=1
+export MallocScribble=1
+export MallocPreScribble=1
+export MallocCheckHeapStart=100
+export MallocCheckHeapEach=100
+export DYLD_INSERT_LIBRARIES=/usr/lib/libgmalloc.dylib
+export MALLOC_PROTECT_BEFORE=1
+export MALLOC_FILL_SPACE=1
+export MALLOC_STRICT_SIZE=1
+
+exec $VALGRIND $@