On 08/08/2018 10:46 AM, David Malcolm wrote:
[...snip...]
We don't seem to have much test coverage for this code. Sorry to be a
pain, but could you please try adding a testcase of a diagnostic issued
from within a couple of levels of nested includes, perhaps using
/* { dg-options "-fdiagnostics-show-caret" } */
and
/* { dg-begin-multiline-output "" }
{ dg-end-multiline-output "" } */
(or dg-regexp if need be for dealing with arbitrary paths in filenames)
I could never get existing dejagnu check this particular piece of
output. AFAICT this is all unconditionally pruned before the output
scanners get a look-see. On the modules branch I ended up hacking in a
pre-pruned-output hook. It's not pretty.
nathan
--
Nathan Sidwell