summaryrefslogtreecommitdiff
path: root/test/fullcheck.sh
blob: db63921d9c8635324b1186c8f17e2cd3cdf444a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

VALGRIND=''
if [ -x /usr/bin/valgrind -o -x /opt/local/bin/valgrind ]; then
  VALGRIND="valgrind -q"
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 $@