]> git.ipfire.org Git - thirdparty/gcc.git/commit
testsuite/lib/multline.exp: show test name and line numbers
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Dec 2015 17:12:38 +0000 (17:12 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 10 Dec 2015 17:12:38 +0000 (17:12 +0000)
commit1e662142235a344b2f5ec4626debaa6c7176b2e7
treea8010e6ddf8c052e2414c516fadb2a8374ca4a6c
parent967524586c59bde314a890cd813242d37a9e9093
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).

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231530 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/testsuite/ChangeLog
gcc/testsuite/lib/multiline.exp