summaryrefslogtreecommitdiffstatshomepage
path: root/tests/valgrind/bin/cgit
blob: dcdfbe532085176eb8156b79e59ef56878b280d0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/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" "$@"
n class="c1"># table.blob .sym { color:#000000; } # table.blob .kwa { color:#000000; font-weight:bold; } # table.blob .kwb { color:#830000; } # table.blob .kwc { color:#000000; font-weight:bold; } # table.blob .kwd { color:#010181; } case "$1" in *.c) highlight -f -I -X -S c ;; *.h) highlight -f -I -X -S c ;; *.sh) highlight -f -I -X -S sh ;; *.css) highlight -f -I -X -S css ;; *) highlight -f -I -X -S txt ;; esac