diff options
author | Katharina Fey <kookie@spacekookie.de> | 2020-12-31 17:04:15 +0100 |
---|---|---|
committer | Katharina Fey <kookie@spacekookie.de> | 2020-12-31 17:08:57 +0100 |
commit | 8ba998aa82d477b87e4a73edf89aceaec0da68f2 (patch) | |
tree | 52510a5422bc724fff29a5714d86b137a37cc111 /tests/valgrind |
Diffstat (limited to 'tests/valgrind')
-rwxr-xr-x | tests/valgrind/bin/cgit | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tests/valgrind/bin/cgit b/tests/valgrind/bin/cgit new file mode 100755 index 0000000..dcdfbe5 --- /dev/null +++ b/tests/valgrind/bin/cgit @@ -0,0 +1,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" "$@" |