aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/lib/scanasm.exp
diff options
context:
space:
mode:
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