testsuite/lib/multline.exp: show test name and line numbers
authorDavid Malcolm <dmalcolm@redhat.com>
Thu, 10 Dec 2015 17:12:38 +0000 (17:12 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Thu, 10 Dec 2015 17:12:38 +0000 (17:12 +0000)
commitb5b44c62e66b07cec9aff58d87280080ef5287bd
treea8010e6ddf8c052e2414c516fadb2a8374ca4a6c
parent3daacdcd5f20d084294f2cc50f84e3e8769205f1
testsuite/lib/multline.exp: show test name and line numbers

gcc/testsuite/ChangeLog:
* lib/multiline.exp (_multiline_expected_outputs): Update comment.
(dg-end-multiline-output): Capture line numbers within
_multiline_expected_outputs.
(handle-multiline-outputs): Access global $testname_with_flags
and add it as a prefix to pass/fail results.  Extract line numbers
from $_multiline_expected_outputs and print them within pass/fail
results, replacing the printing of $index.  Consolidate the
string prefix shared between pass/fail into a new local ($title).

From-SVN: r231530
gcc/testsuite/ChangeLog
gcc/testsuite/lib/multiline.exp