X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Ftestsuite%2Fld-scripts%2Fmap-address.exp;fp=ld%2Ftestsuite%2Fld-scripts%2Fmap-address.exp;h=499a82419209f6991fa9f01733ef98ba0f33aabc;hp=6ddad412cab47b0d22b64cde2d745303b0829cd0;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/ld/testsuite/ld-scripts/map-address.exp b/ld/testsuite/ld-scripts/map-address.exp index 6ddad41..499a824 100644 --- a/ld/testsuite/ld-scripts/map-address.exp +++ b/ld/testsuite/ld-scripts/map-address.exp @@ -1,5 +1,5 @@ # Test address printed by --print-map -# Copyright 2002, 2007 Free Software Foundation, Inc. +# Copyright 2002, 2005, 2007 Free Software Foundation, Inc. # # This file is part of the GNU Binutils. # @@ -31,7 +31,14 @@ if {![ld_simple_link $ld tmpdir/map-address \ tmpdir/map-address.o \ -Map tmpdir/map-address.map"]} { fail $testname -} elseif {[regexp_diff \ + return +} + +if [is_remote host] then { + remote_upload host "tmpdir/map_address.map" +} + +if {[regexp_diff \ "tmpdir/map-address.map" \ "$srcdir/$subdir/map-address.d"]} { fail $testname