tests/valgrind/bin/cgit (view raw)
1#!/bin/sh
2
3# Note that we currently use Git's suppression file and there are variables
4# $GIT_VALGRIND and $CGIT_VALGRIND which point to different places.
5exec valgrind -q --error-exitcode=126 \
6 --suppressions="$GIT_VALGRIND/default.supp" \
7 --gen-suppressions=all \
8 --leak-check=no \
9 --track-origins=yes \
10 --log-fd=4 \
11 --input-fd=4 \
12 "$CGIT_VALGRIND/../../cgit" "$@"