summaryrefslogtreecommitdiff
path: root/fullcheck
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-25 01:49:42 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-25 01:49:42 -0400
commit3f07906e2f3444b09b77b0a62c3a82d14090b2b7 (patch)
tree46ea4058877cf90aef38d106c0eee2254105b0e3 /fullcheck
parent79a79766000a6440f651af50cfac3646171e8f0a (diff)
downloadfork-ledger-3f07906e2f3444b09b77b0a62c3a82d14090b2b7.tar.gz
fork-ledger-3f07906e2f3444b09b77b0a62c3a82d14090b2b7.tar.bz2
fork-ledger-3f07906e2f3444b09b77b0a62c3a82d14090b2b7.zip
Made 'make fullcheck' work for all the new unit tests.
Diffstat (limited to 'fullcheck')
-rwxr-xr-xfullcheck15
1 files changed, 15 insertions, 0 deletions
diff --git a/fullcheck b/fullcheck
new file mode 100755
index 00000000..5763278c
--- /dev/null
+++ b/fullcheck
@@ -0,0 +1,15 @@
+#!/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
+
+exec $VALGRIND $@