aboutsummaryrefslogtreecommitdiff
path: root/runtest.exp
diff options
context:
space:
mode:
authorBen Elliston <bje@gnu.org>2018-11-30 12:18:54 +1100
committerBen Elliston <bje@gnu.org>2018-11-30 12:18:54 +1100
commit88486ad34305e2b6c9cd7f5e0efa65b709d30587 (patch)
tree3cf71534bba4823dbef8359bda9b4d170dbe63f3 /runtest.exp
parent12028b93c50d35b79fd73860eb6d011b00a6d11c (diff)
downloaddejagnu-88486ad34305e2b6c9cd7f5e0efa65b709d30587.zip
dejagnu-88486ad34305e2b6c9cd7f5e0efa65b709d30587.tar.gz
dejagnu-88486ad34305e2b6c9cd7f5e0efa65b709d30587.tar.bz2
* runtest.exp: Use isremote.
* lib/target.exp: Likewise. * lib/remote.exp: Likewise. * lib/libgloss.exp: Likewise. * config/unix.exp: Likewise. * config/sim.exp: Likewise. * config/gdb_stub.exp: Likewise. * config/gdb-comm.exp: Likewise. * baseboards/basic-sim.exp: Likewise. * baseboards/androideabi.exp: Likewise.
Diffstat (limited to 'runtest.exp')
-rw-r--r--runtest.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtest.exp b/runtest.exp
index 7088cc5..be9f0e5 100644
--- a/runtest.exp
+++ b/runtest.exp
@@ -785,7 +785,7 @@ proc setup_target_hook { whole_name name } {
${whole_name}_init $whole_name
}
- if { ![isnative] && ![is_remote target] } {
+ if { ![isnative] && ![isremote target] } {
global env build_triplet target_triplet
if { (![info exists env(DEJAGNU)]) && ($build_triplet != $target_triplet) } {
warning "Assuming target board is the local machine (which is probably wrong).\nYou may need to set your DEJAGNU environment variable."