diff options
author | Dave Korn <dave.korn@artimi.com> | 2010-10-20 14:40:31 +0000 |
---|---|---|
committer | Dave Korn <dave.korn@artimi.com> | 2010-10-20 14:40:31 +0000 |
commit | e0ae9e28cc95e5148ec27d9465f880cc69ae5f46 (patch) | |
tree | 54258a80fa7353a633868cd9af2256626f4a6389 /ld | |
parent | 8991e9fa241dda0b134294cb7a5c7e3727fb8857 (diff) | |
download | gdb-e0ae9e28cc95e5148ec27d9465f880cc69ae5f46.zip gdb-e0ae9e28cc95e5148ec27d9465f880cc69ae5f46.tar.gz gdb-e0ae9e28cc95e5148ec27d9465f880cc69ae5f46.tar.bz2 |
* ld-plugin/plugin.exp: Mark tests UNSUPPORTED, not UNRESOLVED, if
no suitable target compiler is available.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/testsuite/ChangeLog | 5 | ||||
-rw-r--r-- | ld/testsuite/ld-plugin/plugin.exp | 6 |
2 files changed, 9 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 249d852..6dfa6f1 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,8 @@ +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. diff --git a/ld/testsuite/ld-plugin/plugin.exp b/ld/testsuite/ld-plugin/plugin.exp index 416159a..2e63ca0 100644 --- a/ld/testsuite/ld-plugin/plugin.exp +++ b/ld/testsuite/ld-plugin/plugin.exp @@ -26,9 +26,11 @@ if ![check_plugin_api_available] { # 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" @@ -154,11 +156,11 @@ set plugin_extra_elf_tests [list \ 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 |