testsuite: multiline.exp: implement optional target/xfail selector
authorDavid Malcolm <dmalcolm@redhat.com>
Fri, 5 Oct 2018 17:35:55 +0000 (17:35 +0000)
committerDavid Malcolm <dmalcolm@gcc.gnu.org>
Fri, 5 Oct 2018 17:35:55 +0000 (17:35 +0000)
commit9a85d982cc52c200ac8530c05909df593a0d075c
tree0cac802aa39f6f88713d4e2b167146d0f5dacf24
parent08993ffb5277066fcdb082fdb9a03bdbabd766a6
testsuite: multiline.exp: implement optional target/xfail selector

gcc/testsuite/ChangeLog:
* lib/multiline.exp (proc dg-end-multiline-output): Check argument
count.  If there's a 3rd argument, use dg-process-target on it,
bailing out, or recording expected failures as "maybe_x".
(proc handle-multiline-outputs): Extract "maybe_x", and use it
to convert pass/fail into xpass/xfail.

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