]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Return if target is `vax-*-ultrix*'.
authorNick Clifton <nickc@redhat.com>
Tue, 21 Aug 2001 16:04:37 +0000 (16:04 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 21 Aug 2001 16:04:37 +0000 (16:04 +0000)
Continue with other tests when there is a compilation error.

ld/testsuite/ChangeLog
ld/testsuite/ld-selective/selective.exp

index 89c2b065a138ec82f0c7704fa994cfd71b6ca2ba..39ae59eb139c8622e417e32f08f650ea2cab10da 100644 (file)
@@ -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.
index 5620e29c1155e0e00e369ac6d953eca2a6517d50..c25019d8e1350d21ded1de2d2ccd8bc436974998 100644 (file)
 # 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