Commit c140fe0e authored by Gregor Beck's avatar Gregor Beck Committed by Michael Adam

selftest: set valgrind options

In particular '--db-attach' interferes badly with the io redirection of the
test environment and is superseded by the vgdb feature of valgrind.
Signed-off-by: default avatarGregor Beck <>
Reviewed-by: default avatarAndreas Schneider <>
Reviewed-by: default avatarMichael Adam <>
parent db9188fb
......@@ -4,6 +4,10 @@ ENV="$1"
shift 1
CMD="$ENV valgrind -q --db-attach=yes --num-callers=30 $@"
CMD="$ENV valgrind --num-callers=30
--trace-children=yes --log-file=valgrind.%p.log
${VALGRIND_OPT- --time-stamp=yes --track-fds=yes --read-var-info=yes --track-origins=yes --leak-check=yes}
echo $CMD
eval $CMD
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