summaryrefslogtreecommitdiff
path: root/test/fullcheck.sh
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-02-26 00:56:47 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-02-26 03:16:39 -0400
commitd58797e98c82ced16fbc0a213fd104fb72a9de08 (patch)
treececde49eece8edc80e334f74895e0861a56c0fdb /test/fullcheck.sh
parent74e569e220bee08d6c9eda59b5e4021748344994 (diff)
downloadfork-ledger-d58797e98c82ced16fbc0a213fd104fb72a9de08.tar.gz
fork-ledger-d58797e98c82ced16fbc0a213fd104fb72a9de08.tar.bz2
fork-ledger-d58797e98c82ced16fbc0a213fd104fb72a9de08.zip
The -B, -G, -V reports now show rounding amounts
This way, if the running total is off by a penny or two due to rounding of one or more commodities in the account, the user will see it. This commit also reorganizes the testing code a bit, which I did after adding the ninth test series (ConfirmTests), to validate the new rounding code.
Diffstat (limited to 'test/fullcheck.sh')
-rwxr-xr-xtest/fullcheck.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/fullcheck.sh b/test/fullcheck.sh
new file mode 100755
index 00000000..5763278c
--- /dev/null
+++ b/test/fullcheck.sh
@@ -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 $@