From 93d2cbdb19780971b11aae6a38a0559ff81eec79 Mon Sep 17 00:00:00 2001 From: Jean-Baptiste VESLIN <19856429+thebaptiste@users.noreply.github.com> Date: Tue, 5 Nov 2024 17:36:18 +0100 Subject: [PATCH] build: more info about possibly lost --- src/valgrind.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/valgrind.sh b/src/valgrind.sh index 0cc2688..1b36464 100755 --- a/src/valgrind.sh +++ b/src/valgrind.sh @@ -32,7 +32,7 @@ else fi echo "TEST DES FUITES MEMOIRES..." -valgrind --tool=memcheck --leak-check=full --show-possibly-lost=no ${SUPPS} "$@" 2>&1 |tee /tmp/valgrind.out +valgrind -s --tool=memcheck --leak-check=full --show-leak-kinds=all --show-possibly-lost=no ${SUPPS} "$@" 2>&1 |tee /tmp/valgrind.out N=$(cat /tmp/valgrind.out |grep -c "definitely lost: 0 bytes in 0 blocks") if test "${N}" -gt 0; then echo "OK"