tvl-depot/third_party/cgit/tests/valgrind/bin/cgit
Vincent Ambo 5a069d5888 merge(third_party/cgit): Import at master of 2020-01-11
Imported commit '723dc8fbcb1a4609c264758eae420ee2811a2b55' as
'third_party/cgit'.
2020-01-11 23:31:05 +00:00

12 lines
374 B
Bash
Executable file

#!/bin/sh
# Note that we currently use Git's suppression file and there are variables
# $GIT_VALGRIND and $CGIT_VALGRIND which point to different places.
exec valgrind -q --error-exitcode=126 \
--suppressions="$GIT_VALGRIND/default.supp" \
--gen-suppressions=all \
--leak-check=no \
--track-origins=yes \
--log-fd=4 \
--input-fd=4 \
"$CGIT_VALGRIND/../../cgit" "$@"