testsuite: multiline.exp: implement optional target/xfail selector
commit96433d2cf933ee2302793cd59cc385293c0a7d90
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Oct 2018 17:35:55 +0000 (5 17:35 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Oct 2018 17:35:55 +0000 (5 17:35 +0000)
tree0cac802aa39f6f88713d4e2b167146d0f5dacf24
parent26f24372666ffc3ab1934b4e1a4c685ee0c30acd
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.

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