summaryrefslogtreecommitdiff
path: root/test/fullcheck.sh
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-04-26 16:39:25 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-04-26 16:39:25 -0500
commit64a9b42381c26baf24e58b40f50f0b253e551811 (patch)
tree5447a29dff64c3a8b7be8100a01bcb4a2d73b0bb /test/fullcheck.sh
parent7cc550fc22357e2ded194d3e65287c6b3317f5ae (diff)
parentb4407c10c0071365322b2963747bf42a57fd7304 (diff)
downloadfork-ledger-64a9b42381c26baf24e58b40f50f0b253e551811.tar.gz
fork-ledger-64a9b42381c26baf24e58b40f50f0b253e551811.tar.bz2
fork-ledger-64a9b42381c26baf24e58b40f50f0b253e551811.zip
Merge branch 'release/v3.0.0-20120426'
Diffstat (limited to 'test/fullcheck.sh')
-rwxr-xr-xtest/fullcheck.sh25
1 files changed, 14 insertions, 11 deletions
diff --git a/test/fullcheck.sh b/test/fullcheck.sh
index f3c20dd2..fc89a13c 100755
--- a/test/fullcheck.sh
+++ b/test/fullcheck.sh
@@ -1,18 +1,21 @@
#!/bin/sh
VALGRIND=''
-if [ -x /usr/bin/valgrind ]; then
- VALGRIND=valgrind
+if [ -x /usr/bin/valgrind -o -x /opt/local/bin/valgrind ]; then
+ VALGRIND="valgrind -q --track-origins=yes"
+ if [ `uname` = "Darwin" ]; then
+ VALGRIND="$VALGRIND --dsymutil=yes"
+ fi
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
+#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 $@