summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorEtienne Samson <samson.etienne@gmail.com>2018-10-30 22:32:57 +0100
committerEtienne Samson <samson.etienne@gmail.com>2018-10-30 22:32:57 +0100
commit8c49b3bf26f4334f90dadf42685c95b356a7a0a3 (patch)
treed5c4594a0e17c798710e1bda74bcc7f87d5d0ae2 /ci
parent0e69485efd4637223b1a138bfebaf5b3ed048bb4 (diff)
downloadlibgit2-8c49b3bf26f4334f90dadf42685c95b356a7a0a3.tar.gz
tests: use CLAR_AT_EXIT to check for leaks on macOS
Diffstat (limited to 'ci')
-rwxr-xr-xci/test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/ci/test.sh b/ci/test.sh
index a9d607154..d45a78f26 100755
--- a/ci/test.sh
+++ b/ci/test.sh
@@ -14,7 +14,7 @@ USER=${USER:-$(whoami)}
SUCCESS=1
VALGRIND="valgrind --leak-check=full --show-reachable=yes --error-exitcode=125 --num-callers=50 --suppressions=\"$SOURCE_DIR/libgit2_clar.supp\""
-LEAKS="MallocStackLogging=1 MallocScribble=1 MallocLogFile=/dev/null"
+LEAKS="MallocStackLogging=1 MallocScribble=1 MallocLogFile=/dev/null CLAR_AT_EXIT=\"leaks -quiet \$PPID\""
cleanup() {
echo "Cleaning up..."