X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-bootstrap%2Fbootstrap.exp;h=ccb07d5eb930a83f88baa90a9232209015fb5b6d;hb=52248d53383e2ff905bacb46b1c24c89b64ab42e;hp=bbd4fd87ba8fb18513ac79318b5a7edace528f50;hpb=fb2c6e43b8699da2057e9e33fda09007f112393a;p=platform%2Fupstream%2Fbinutils.git diff --git a/ld/testsuite/ld-bootstrap/bootstrap.exp b/ld/testsuite/ld-bootstrap/bootstrap.exp index bbd4fd8..ccb07d5 100644 --- a/ld/testsuite/ld-bootstrap/bootstrap.exp +++ b/ld/testsuite/ld-bootstrap/bootstrap.exp @@ -78,7 +78,12 @@ foreach flags $test_flags { # This test can only be run if we have the ld build directory, # since we need the object files. - if {$ld != "$objdir/ld-new"} { + set ldexe $ld + set ldparm [string first " " $ld] + if { $ldparm > 0 } then { + set ldexe [string range $ld 0 $ldparm] + } + if {$ldexe != "$objdir/ld-new"} { untested $testname continue }