aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tests/valgrind/bin/cgit
pre { line-height: 125%; } td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; } td.linenos .special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } span.linenos.special { color: #000000; background-color: #ffffc0; padding-left: 5px; padding-right: 5px; } .highlight .hll { background-color: #ffffcc } .highlight .c { color: #888888 } /* Comment */ .highlight .err { color: #a61717; background-color: #e3d2d2 }
#!/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" "$@"