* lib/target-supports-dg.exp (dg-require-effective-target): Return
early if the test is already being skipped.
From-SVN: r175547
2011-06-27 Janis Johnson <janisjo@codesourcery.com>
+ * lib/target-supports-dg.exp (dg-require-effective-target): Return
+ early if the test is already being skipped.
+
* lib/scanasm.exp (dg-scan, scan-assembler-times, scan-assembler-dem,
scan-assembler-dem-not): For missing file, report unresolved with
same message as for pass/fail, with reason reported in log file.
if { [llength $args] < 1 || [llength $args] > 2 } {
error "syntax error, need a single effective-target keyword with optional selector"
}
+
+ # Don't bother if we're already skipping the test.
+ upvar dg-do-what dg-do-what
+ if { [lindex ${dg-do-what} 1] == "N" } {
+ return
+ }
# Evaluate selector if present.
if { [llength $args] == 2 } {
}
if { ![is-effective-target [lindex $args 0]] } {
- upvar dg-do-what dg-do-what
set dg-do-what [list [lindex ${dg-do-what} 0] "N" "P"]
}
}