aboutsummaryrefslogtreecommitdiff
path: root/runtest.exp
diff options
context:
space:
mode:
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."