Fix compat interactive test to run with valgrind too.

This commit is contained in:
Milan Broz
2021-02-08 17:33:19 +01:00
parent bce9d695e3
commit 1380efa1c6
4 changed files with 42 additions and 32 deletions

View File

@@ -5,7 +5,7 @@ MALLOC="--malloc-fill=aa"
FREE="--free-fill=21"
STACK="--max-stackframe=300000"
EXTRAS="--read-var-info=yes --show-reachable=yes"
LOGFILE="--log-file=./valglog.$(date +%s)_${INFOSTRING}"
LOGFILE="--log-file=./valglog.$(date +%H:%M:%S:%N)_${INFOSTRING}"
LEAKCHECK="--leak-check=full --track-origins=yes"
exec valgrind $SUP $GETSUP $CHILD $MALLOC $FREE $STACK $EXTRAS $LOGFILE $LEAKCHECK "$@"