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.
15 lines
295 B
Bash
Executable file
15 lines
295 B
Bash
Executable file
#!/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 $@
|