From 8451df7c927b72eb337f338d893609711a957ee7 Mon Sep 17 00:00:00 2001 From: Emile Clark-Boman Date: Thu, 11 Sep 2025 22:18:35 +1000 Subject: [PATCH] scripts/test now outputs a valgrind log --- scripts/test | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/test b/scripts/test index 4c7b47d..d651df0 100755 --- a/scripts/test +++ b/scripts/test @@ -20,7 +20,7 @@ fi if [[ "$MODE_ARG" =~ .*valgrind ]]; then MODE="$MODE_ARG" VALGRIND=true - PROXY='valgrind -s --leak-check=full --show-leak-kinds=all' + PROXY='valgrind -s --log-file=logs/valgrind.log --leak-check=full --show-leak-kinds=all' TARGET=debug fi @@ -40,4 +40,5 @@ if [[ ! -x "$PROGRAM" ]]; then exit 1 fi +mkdir -p logs LD_LIBRARY_PATH=./lib $PROXY "$PROGRAM" $@