]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
(test4): Delete incorrect foo__1B test.
authorAlan Modra <amodra@gmail.com>
Tue, 11 Apr 2000 23:04:03 +0000 (23:04 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 11 Apr 2000 23:04:03 +0000 (23:04 +0000)
ld/testsuite/ChangeLog
ld/testsuite/ld-selective/selective.exp

index 240205f2933e1f9cbb3ed2c6331b1574e23eb500..8b4c8703220dabbd2eb981d4ddd230e6bd2c1ce6 100644 (file)
@@ -1,3 +1,7 @@
+2000-04-12  Alan Modra  <alan@linuxcare.com.au>
+
+       * ld-selective/selective.exp (test4): Delete incorrect foo__1B test.
+
 2000-03-13  Nick Clifton  <nickc@cygnus.com>
 
        * ld-scripts/phdrs.t: Discard all unexpected sections.
index 4ab5872be28b136b48e939d70b939a6985e9c7ee..b9197ef93984f276ac1be578b044c1b47d63c2b7 100644 (file)
@@ -136,20 +136,14 @@ if ![ld_simple_link $ld tmpdir/3.x "$ldflags tmpdir/3.o"] {
     if ![ld_nm $nm tmpdir/3.x] {
        unresolved $test4
     } else {
-       if {[info exists nm_output(foo__1B)]} {
-          send_log "foo__1B == $nm_output(foo__1B)\n"
-          verbose "foo__1B == $nm_output(foo__1B)"
-          fail $test4
-       } else {
-           if {[ info exists nm_output(bar__1A)]} {
-              send_log "bar__1A== $nm_output(_bar__1A)\n"
-              verbose "bar__1A == $nm_output(_bar__1A)"
-              fail $test4
-           } else {
-               pass $test4
-             }
-          }
-      }
+       if {[ info exists nm_output(bar__1A)]} {
+           send_log "bar__1A== $nm_output(_bar__1A)\n"
+           verbose "bar__1A == $nm_output(_bar__1A)"
+           fail $test4
+       } else {
+           pass $test4
+       }
+    }
 }
 
 if { ![ld_compile "$CC $cflags $cxxflags" $srcdir/$subdir/4.cc tmpdir/4.o]} {