summaryrefslogtreecommitdiff
path: root/cgit/tests/valgrind
diff options
context:
space:
mode:
authorMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-02 18:41:43 +0300
committerMehmet Samet Duman <yongdohyun@projecttick.org>2026-04-02 18:41:43 +0300
commit6bf7c5ce92ff6237c0b17c332873805018812b40 (patch)
tree18905aaed6af4be08f686f18aac1660f9606628d /cgit/tests/valgrind
parentc93af47179aad2d3fae3bc756d058f3ff1a14ccf (diff)
parente94c3cd8bda6f9c2a6d0a613733c6eeddd1a406f (diff)
downloadProject-Tick-6bf7c5ce92ff6237c0b17c332873805018812b40.tar.gz
Project-Tick-6bf7c5ce92ff6237c0b17c332873805018812b40.zip
Add 'cgit/' from commit 'e94c3cd8bda6f9c2a6d0a613733c6eeddd1a406f'
git-subtree-dir: cgit git-subtree-mainline: c93af47179aad2d3fae3bc756d058f3ff1a14ccf git-subtree-split: e94c3cd8bda6f9c2a6d0a613733c6eeddd1a406f
Diffstat (limited to 'cgit/tests/valgrind')
-rwxr-xr-xcgit/tests/valgrind/bin/cgit12
1 files changed, 12 insertions, 0 deletions
diff --git a/cgit/tests/valgrind/bin/cgit b/cgit/tests/valgrind/bin/cgit
new file mode 100755
index 0000000000..dcdfbe5320
--- /dev/null
+++ b/cgit/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" "$@"