|
From: Bart V. A. <bva...@ac...> - 2011-12-12 20:02:56
|
On Mon, Dec 12, 2011 at 2:51 PM, Florian Krohm <br...@ac...> wrote: > Bart, in the stack-trace below not all line numbers are replaced. This > should help: > > Index: drd/tests/filter_stderr > =================================================================== > --- drd/tests/filter_stderr (revision 12286) > +++ drd/tests/filter_stderr (working copy) > @@ -28,9 +28,9 @@ > -e "s: BSS section of [^<]*/: BSS section of :g" \ > -e "s: vc \[[ ,:0-9]*\]: vc ...:g" \ > -e "s/[@\$*]* (drd_pthread_intercepts.c:/ (drd_pthread_intercepts.c:/" \ > --e "s/ (\([a-zA-Z_]*\.c\):[0-9]*)/ (\1:?)/" \ > --e "s/ (\([a-zA-Z_]*\.h\):[0-9]*)/ (\1:?)/" \ > --e "s/ (\([a-zA-Z_]*\.cpp\):[0-9]*)/ (\1:?)/" \ > +-e "s/ (\([a-zA-Z_][a-zA-Z0-9_-]*\.c\):[0-9]*)/ (\1:?)/" \ > +-e "s/ (\([a-zA-Z_][a-zA-Z0-9_-]*\.h\):[0-9]*)/ (\1:?)/" \ > +-e "s/ (\([a-zA-Z_][a-zA-Z0-9_-]*\.cpp\):[0-9]*)/ (\1:?)/" \ > -e "s/\( name [^ ]*\)-[0-9]*\( oflag \)/\1\2/" \ > -e "/^For counts of detected and suppressed errors, rerun with: -v$/d" | > Thanks for reporting that. Unfortunately the above changes have a big impact on the regression test output. And for some regression tests it is a positive side effect that not all line numbers are filtered out - line numbers referring to regression test source files should be kept but line numbers referring to source files in standard libraries not. I'll see what I can do. Bart. |