Add valgrind support in test scripts
[git/spearce.git] / t / valgrind / valgrind.sh
blobdc9261265b95c7100e4369bef82175f48a3c099e
1 #!/bin/sh
3 base=$(basename "$0")
5 exec valgrind -q --error-exitcode=126 \
6 --leak-check=no \
7 --suppressions="$GIT_VALGRIND/default.supp" \
8 --gen-suppressions=all \
9 --track-origins=yes \
10 --log-fd=4 \
11 --input-fd=4 \
12 $GIT_VALGRIND_OPTIONS \
13 "$GIT_VALGRIND"/../../"$base" "$@"