aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorYvan Roux <yvan.roux@linaro.org>2016-04-06 19:52:22 +1000
committerBen Elliston <bje@gnu.org>2016-04-06 19:52:22 +1000
commit284773caf2434586dbacd0823107e676c69a5666 (patch)
tree09405dea076304f6dd97e8d23e728e860b1b69f0 /config
parent8350550d0f8bed678e55d273649dd846619b91c4 (diff)
* lib/remote.exp (remnote_download): Create a remote directory if
needed and use it. (remote_exec): Execute program inside remotedir when it exists. (standard_load): Set remotedir board field if not present. * config/unix.exp (unix_load): Handle remotedir in board field. (remotedir): Set board info field. * doc/dejagnu.texi (Board File Values): Document remotedir. Signed-off-by: Ben Elliston <bje@gnu.org>
Diffstat (limited to 'config')
-rw-r--r--config/unix.exp3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/unix.exp b/config/unix.exp
index c9d80dc..6a0ff72 100644
--- a/config/unix.exp
+++ b/config/unix.exp
@@ -97,7 +97,7 @@ proc unix_load { dest prog args } {
setenv SHLIB_PATH $orig_ld_library_path
}
} else {
- set remotefile "/tmp/[file tail $prog].[pid]"
+ set remotefile [file tail $prog]
set remotefile [remote_download $dest $prog $remotefile]
if { $remotefile == "" } {
verbose -log "Download of $prog to [board_info $dest name] failed." 3
@@ -145,4 +145,5 @@ proc unix_load { dest prog args } {
return [list $result $output]
}
+set_board_info remotedir "/tmp/runtest.[pid]"
set_board_info protocol "unix"