+2010-10-20 Dave Korn <dave.korn.cygwin@gmail.com>
+
+ * ld-plugin/plugin.exp: Mark tests UNSUPPORTED, not UNRESOLVED, if
+ no suitable target compiler is available.
+
2010-10-16 Kai Tietz <kai.tietz@onevision.com>
* ld-pe/pe-run2.exp: Prefix --enable-auto-import by -Wl.
# And a compiler to be available.
set can_compile 1
+set failure_kind "unresolved"
if { [which $CC] == 0 } {
# Don't fail immediately,
set can_compile 0
+ set failure_kind "unsupported"
}
pass "plugin API enabled"
if { !$can_compile || $failed_compile } {
foreach testitem $plugin_tests {
- unresolved [lindex $testitem 0]
+ $failure_kind [lindex $testitem 0]
}
if { [is_elf_format] } {
foreach testitem $plugin_extra_elf_tests {
- unresolved [lindex $testitem 0]
+ $failure_kind [lindex $testitem 0]
}
}
return