Re: [PATCH] testsuite/lib/multline.exp: show test name and line numbers

2016-01-07 Thread Bernd Schmidt
On 12/29/2015 10:17 AM, Uros Bizjak wrote: It looks that this new functionality doesn't handle conditional compilation, when /* { dg-do compile { target { ! ia32 } } } */ is added to the testcase, such as in recently changed gcc.target/i386/pr68473-1.c. The directive is passed to the next test

Re: [PATCH] testsuite/lib/multline.exp: show test name and line numbers

2015-12-29 Thread Uros Bizjak
Hello! > Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu; > I compared the results against a control build (of r231445), and > the results were unchanged, other than the expected changes from > the above, leading to > - 92 PASS results changing name within g++.sum > - 7 PASS results

Re: [PATCH] testsuite/lib/multline.exp: show test name and line numbers

2015-12-10 Thread Bernd Schmidt
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] testsuite/lib/multline.exp: show test name and line numbers

2015-12-10 Thread David Malcolm
The output from multiline.exp doesn't scale well when reviewing and comparing .sum files. Lines in e.g. gcc.sum from a dg-{begin|end}-multiline-output pair are currently of the form: PASS: expected multiline pattern 0 was found: "\s*myvar = myvar\.x;.*\n ~\^~\n" as compared to e.g