]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
filter out in /absolute/path in drd/tests stderr filter
authorMark Wielaard <mark@klomp.org>
Sat, 20 Apr 2024 20:56:05 +0000 (22:56 +0200)
committerMark Wielaard <mark@klomp.org>
Sat, 20 Apr 2024 20:57:44 +0000 (22:57 +0200)
This filters out a line like:
by 0x........: ??? (in /home/mjw/valgrind/helgrind/tests/tc04_free_lock)
and replaces it with
by 0x........: ???

drd/tests/filter_stderr.in

index f2ede7767f28b05d9ff9e3308e5852aed679049c..485a588b898bda647d3235037925bb4d76d95fa5 100755 (executable)
@@ -49,6 +49,7 @@ $SED \
 -e "s/ (\([a-zA-Z_]*\.h\):[0-9]*)/ (\1:?)/" \
 -e "s/ (\([a-zA-Z_]*\.cpp\):[0-9]*)/ (\1:?)/" \
 -e "s/\( name [^ ]*\)-[0-9]*\( oflag \)/\1\2/" \
+-e "s/??? (in \/[A-Za-z0-9_/-]*)/???/" \
 -e '/^   by 0x[0-9a-fA-F]*: process_dl_debug (in \/lib[0-9]*\/ld-[0-9.]*\.so)$/d' \
 -e "/^For lists of detected and suppressed errors, rerun with: -s$/d" |