Skip to content

Commit 8c49b3b

Browse files
committed
tests: use CLAR_AT_EXIT to check for leaks on macOS
1 parent 0e69485 commit 8c49b3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ USER=${USER:-$(whoami)}
1414
SUCCESS=1
1515

1616
VALGRIND="valgrind --leak-check=full --show-reachable=yes --error-exitcode=125 --num-callers=50 --suppressions=\"$SOURCE_DIR/libgit2_clar.supp\""
17-
LEAKS="MallocStackLogging=1 MallocScribble=1 MallocLogFile=/dev/null"
17+
LEAKS="MallocStackLogging=1 MallocScribble=1 MallocLogFile=/dev/null CLAR_AT_EXIT=\"leaks -quiet \$PPID\""
1818

1919
cleanup() {
2020
echo "Cleaning up..."

0 commit comments

Comments
 (0)