aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--binutils/ChangeLog5
-rw-r--r--binutils/testsuite/lib/utils-lib.exp3
2 files changed, 7 insertions, 1 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog
index a4cbad6..6bd65d7 100644
--- a/binutils/ChangeLog
+++ b/binutils/ChangeLog
@@ -1,3 +1,8 @@
+2016-10-14 Luis Machado <lgustavo@codesourcery.com>
+
+ * testsuite/lib/utils-lib.exp (run_dump_test): Call remote_download
+ to copy file to remote host.
+
2016-10-11 Nick Clifton <nickc@redhat.com>
* objdump.c (is_significant_symbol_name): New function.
diff --git a/binutils/testsuite/lib/utils-lib.exp b/binutils/testsuite/lib/utils-lib.exp
index 6d2de5d..b93da51 100644
--- a/binutils/testsuite/lib/utils-lib.exp
+++ b/binutils/testsuite/lib/utils-lib.exp
@@ -464,7 +464,8 @@ proc run_dump_test { name {extra_options {}} } {
}
set srcfile $newfile
}
- file copy -force ${srcfile} $tempfile
+ # Make sure we copy the file if we are doing remote host testing.
+ remote_download host ${srcfile} $tempfile
} else {
set exec_output [binutils_assemble_flags ${srcfile} $tempfile $opts(as)]
if [string match "" $exec_output] then {