Commit 524136ea by Janis Johnson Committed by Janis Johnson

* lib/gcc-dg.exp (dg-xfail-if): Ignore if skipping the test.

From-SVN: r90485
parent e1e2e653
2004-11-11 Janis Johnson <janis187@us.ibm.com>
* lib/gcc-dg.exp (dg-xfail-if): Ignore if skipping the test.
2004-11-11 Nathan Sidwell <nathan@codesourcery.com>
PR target/16457
......
......@@ -445,6 +445,12 @@ proc dg-prune-output { args } {
# Like check_conditional_xfail, but callable from a dg test.
proc dg-xfail-if { args } {
# Don't change anything if we're already skipping the test.
upvar dg-do-what dg-do-what
if { [lindex ${dg-do-what} 1] == "N" } {
return
}
set args [lreplace $args 0 0]
set selector "target [join [lindex $args 1]]"
if { [dg-process-target $selector] == "S" } {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment