Commit 2f3240ff by Etienne Samson Committed by Patrick Steinhardt

scripts: use leaks on macOS

(cherry picked from commit 4c969618)
parent 9da74c2a
...@@ -10,4 +10,6 @@ fi ...@@ -10,4 +10,6 @@ fi
if [ -n "$VALGRIND" -a -e "$(which valgrind)" ]; then if [ -n "$VALGRIND" -a -e "$(which valgrind)" ]; then
valgrind --leak-check=full --show-reachable=yes --error-exitcode=125 --num-callers=50 --suppressions=./libgit2_clar.supp _build/libgit2_clar $@ -ionline -xbuf::oom valgrind --leak-check=full --show-reachable=yes --error-exitcode=125 --num-callers=50 --suppressions=./libgit2_clar.supp _build/libgit2_clar $@ -ionline -xbuf::oom
elif [ -n "$LEAKS" -a -e "$(which leaks)" ]; then
MallocStackLogging=1 MallocScribble=1 leaks -atExit -- _build/libgit2_clar -ionline
fi fi
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment