From: Alan Modra Date: Tue, 11 Apr 2000 23:04:03 +0000 (+0000) Subject: (test4): Delete incorrect foo__1B test. X-Git-Tag: binutils-2_10~61 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c14824ff7387b939c4c6843f1b9d80ad732d5bbc;p=thirdparty%2Fbinutils-gdb.git (test4): Delete incorrect foo__1B test. --- diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index 240205f2933..8b4c8703220 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2000-04-12 Alan Modra + + * ld-selective/selective.exp (test4): Delete incorrect foo__1B test. + 2000-03-13 Nick Clifton * ld-scripts/phdrs.t: Discard all unexpected sections. diff --git a/ld/testsuite/ld-selective/selective.exp b/ld/testsuite/ld-selective/selective.exp index 4ab5872be28..b9197ef9398 100644 --- a/ld/testsuite/ld-selective/selective.exp +++ b/ld/testsuite/ld-selective/selective.exp @@ -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]} {