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" $@