3
# Make sure it finds the real one this time.
4
PATH=`pwd`/tests/build:$PATH
5
valgrind -q --num-callers=8 --suppressions=tests/valgrind/suppressions --log-fd=3 `basename $0` "$@" 3>tests/tmp/valgrind
8
if [ -s tests/tmp/valgrind ]; then
9
echo VALGRIND FAILED for $0 "$@" > /proc/$PPID/fd/1
10
cat tests/tmp/valgrind > /proc/$PPID/fd/1