diff options
Diffstat (limited to 'gdb/testsuite/gdb.base/so-impl-ld.exp')
-rw-r--r-- | gdb/testsuite/gdb.base/so-impl-ld.exp | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.base/so-impl-ld.exp b/gdb/testsuite/gdb.base/so-impl-ld.exp index beb2a6ac90c..e55cff9e7fa 100644 --- a/gdb/testsuite/gdb.base/so-impl-ld.exp +++ b/gdb/testsuite/gdb.base/so-impl-ld.exp @@ -32,9 +32,13 @@ if ![isnative] then { # This test is presently only valid on HP-UX, since it requires # that we use HP-UX-specific compiler & linker options to build # the testcase. -# -setup_xfail "*-*-*" -clear_xfail "hppa*-*-*hpux*" +# Actually this test works on solaris, and linux too. + +if {! ([istarget "hppa*-*-*hpux*"] + || [istarget "sparc-sun-solaris*"] + || [istarget " *-*-linux-gnu"]) } { + return +} set libfile "solib" set testfile "so-impl-ld" @@ -160,3 +164,9 @@ gdb_expect { gdb_exit return 0 + + + + + + |