aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-08-21 16:04:37 +0000
committerNick Clifton <nickc@redhat.com>2001-08-21 16:04:37 +0000
commit453abe317105d26684fce811f58609bf2b4dbccb (patch)
treef1c5cc5f8d1383a691aaf8386f80a5edcbada5f7 /ld
parent0d38c7701d82c1ef84af8903737c461811968007 (diff)
downloadgdb-453abe317105d26684fce811f58609bf2b4dbccb.zip
gdb-453abe317105d26684fce811f58609bf2b4dbccb.tar.gz
gdb-453abe317105d26684fce811f58609bf2b4dbccb.tar.bz2
Return if target is `vax-*-ultrix*'.
Continue with other tests when there is a compilation error.
Diffstat (limited to 'ld')
-rw-r--r--ld/testsuite/ChangeLog5
-rw-r--r--ld/testsuite/ld-selective/selective.exp19
2 files changed, 17 insertions, 7 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 89c2b06..39ae59e 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2001-08-21 John David Anglin <dave@hiauly1.hia.nrc.ca>
+
+ * ld-selective/selective.exp: Return if target is `vax-*-ultrix*'.
+ Continue with other tests when there is a compilation error.
+
2001-08-01 Loren J. Rittle <ljrittle@acm.org>
* ld-cdtest/cdtest-nrv.dat: New file.
diff --git a/ld/testsuite/ld-selective/selective.exp b/ld/testsuite/ld-selective/selective.exp
index 5620e29..c25019d 100644
--- a/ld/testsuite/ld-selective/selective.exp
+++ b/ld/testsuite/ld-selective/selective.exp
@@ -19,6 +19,11 @@
# Make sure that constructors are handled correctly.
+# AOUT based ports do not support selective linking
+if {[istarget "vax-*-ultrix*"]} {
+ return
+}
+
# COFF based ports do not support selective linking
if {[istarget "*-*-coff"]} {
return
@@ -38,12 +43,12 @@ if {[istarget "*-*-pe"]} {
#
# FIXME: Instead of table, read settings from each source-file.
set seltests {
- {selective1 C 1.c {} {} {dropme1 dropme2} {alpha*-*}}
- {selective2 C 2.c {} {} {foo} {alpha*-* mips*-*}}
- {selective3 C 2.c {-u foo} {foo} {{foo 0}} {mips*-*}}
- {selective4 C++ 3.cc {} {start a A::foo() B::foo()} {A::bar()} {alpha*-* mips*-*}}
- {selective5 C++ 4.cc {} {start a A::bar()} {A::foo() B::foo()} {alpha*-* mips*-*}}
- {selective6 C++ 5.cc {} {start a A::bar()}
+ {selective1 C 1.c {} {} {dropme1 dropme2} {alpha*-*}}
+ {selective2 C 2.c {} {} {foo} {alpha*-* mips*-*}}
+ {selective3 C 2.c {-u foo} {foo} {{foo 0}} {mips*-*}}
+ {selective4 C++ 3.cc {} {start a A::foo() B::foo()} {A::bar()} {alpha*-* mips*-*}}
+ {selective5 C++ 4.cc {} {start a A::bar()} {A::foo() B::foo()} {alpha*-* mips*-*}}
+ {selective6 C++ 5.cc {} {start a A::bar()}
{A::foo() B::foo() dropme1() dropme2()} {*-*-*}}
}
@@ -88,7 +93,7 @@ foreach testitem $seltests {
# leave as is.
if { ![ld_compile "$CC $testflags" $srcdir/$subdir/$testfile $objfile] } {
unresolved $testname
- return
+ continue
}
# V850 targets need libgcc.a