Florian Krohm ad7a355b4a Improve filtering of backtrace noise in the memcheck bucket
and update exp files accordingly. This works well for x86
and all testcases pass on my machine.
New file filter_memcheck to do the work. 
There is a bit of a ripple here as filter_memcheck requires
command line arguments to be passed in. So all users of 
filter_memcheck (direct or indirect) were updated as well.
filter_stderr was simplified as was filter_libc.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@12091
2011-10-03 23:39:54 +00:00

14 lines
549 B
Plaintext

# test the memcheck leak functionality.
prog: ../memcheck/tests/leak-delta
vgopts: --tool=memcheck --vgdb=yes --vgdb-error=0 --vgdb-prefix=./vgdb-prefix-mcleak -q --leak-check=yes --show-reachable=yes --leak-resolution=high
prereq: test -e gdb
stdout_filter: filter_memcheck_monitor
stderr_filter: filter_memcheck_monitor
progB: gdb
argsB: --quiet -l 60 --nx ../memcheck/tests/leak-delta
stdinB: mcleak.stdinB.gdb
stdoutB_filter: filter_gdb
stderrB_filter: filter_memcheck_monitor
stderr_filter_args: leak-delta.c
stderrB_filter_args: leak-delta.c