On 12/10/2015 03:56 PM, David Malcolm wrote:
The following patch updates multiline.exp to use the global
$testname_with_flags
as a prefix in such results.
I also dropped the printing of the index in favor of printing the line
numbers enclosed within dg-{begin|end}-multiline-output.
After the patch, we get result lines like this:
PASS: gcc.dg/plugin/diagnostic-test-show-locus-bw.c
-fplugin=./diagnostic_plugin_test_show_locus.so expected multiline pattern lines 17-18
was found: "\s*myvar = myvar\.x;.*\n ~~~~~\^~\n"
This seems to be an improvement, so OK. I'm not sure what the value of
printing the regexp in the output is, I tend to see it as clutter and
would favour another patch to remove it.
Bernd