aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib/scanasm.exp
diff options
context:
space:
mode:
authorMark Mitchell <mmitchel@gcc.gnu.org>2007-04-17 15:54:55 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2007-04-17 15:54:55 +0000
commit485b51a7b0317503042653afaa11a1e75c9994aa (patch)
treeb40e0ad38c6773b50f26d5a79afb269407ea32dd /gcc/testsuite/lib/scanasm.exp
parentf2eb49dcfaf3c6d6bb344e7a175576148a7d310e (diff)
downloadgcc-485b51a7b0317503042653afaa11a1e75c9994aa.zip
gcc-485b51a7b0317503042653afaa11a1e75c9994aa.tar.gz
gcc-485b51a7b0317503042653afaa11a1e75c9994aa.tar.bz2
linkage.exp: Do not run on remote hosts.
* gcc.misc-tests/linkage.exp: Do not run on remote hosts. * lib/compat.exp (compat-run): Use file_on_host, not remote_file build. (compat-execute): Likewise. * lib/copy-file.exp (gcc_copy_files): Use remote_download to copy files to remote hosts. * lib/c-ctorture.exp (c-torture-compile): Likewise. (c-torture-execute): Likewise. * lib/dg-pch.exp (dg-pch): Use file_on_host, not remote_file build or plain file. Use remote_upload and remote_download to copy files about. * lib/scanasm.exp (dg-scan): Upload the file from the remote host before scanning it. From-SVN: r123914
Diffstat (limited to 'gcc/testsuite/lib/scanasm.exp')
-rw-r--r--gcc/testsuite/lib/scanasm.exp3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/testsuite/lib/scanasm.exp b/gcc/testsuite/lib/scanasm.exp
index a8d4bc9..0b7fcb1 100644
--- a/gcc/testsuite/lib/scanasm.exp
+++ b/gcc/testsuite/lib/scanasm.exp
@@ -44,6 +44,9 @@ proc dg-scan { name positive testcase output_file orig_args } {
}
}
+ if { [is_remote host] } {
+ remote_upload host "$output_file"
+ }
set fd [open $output_file r]
set text [read $fd]
close $fd