aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.misc-tests
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/gcc.misc-tests
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/gcc.misc-tests')
-rw-r--r--gcc/testsuite/gcc.misc-tests/linkage.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/testsuite/gcc.misc-tests/linkage.exp b/gcc/testsuite/gcc.misc-tests/linkage.exp
index a080521..10eeba6 100644
--- a/gcc/testsuite/gcc.misc-tests/linkage.exp
+++ b/gcc/testsuite/gcc.misc-tests/linkage.exp
@@ -18,7 +18,7 @@
# was written by Rob Savoye. (rob@cygnus.com)
# All the other tests driven by that file have since been moved elsewhere.
-if [isnative] then {
+if { [isnative] && ![is_remote host] } then {
set lines [gcc_target_compile "$srcdir/$subdir/linkage-x.c" "linkage-x.o" object {additional_flags="-w"}]
if ![string match "" $lines] then {
fail "$subdir/linkage.c compile"