summaryrefslogtreecommitdiffstats
path: root/lldb/test/lldbtest.py
diff options
context:
space:
mode:
Diffstat (limited to 'lldb/test/lldbtest.py')
-rw-r--r--lldb/test/lldbtest.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/test/lldbtest.py b/lldb/test/lldbtest.py
index b59d692785e..5463c573c55 100644
--- a/lldb/test/lldbtest.py
+++ b/lldb/test/lldbtest.py
@@ -2407,7 +2407,7 @@ class TestBase(Base):
if lldb.pre_flight:
lldb.pre_flight(self)
- if lldb.remote_platform:
+ if lldb.remote_platform and lldb.remote_platform_working_dir:
remote_test_dir = lldbutil.join_remote_paths(
lldb.remote_platform_working_dir,
self.getArchitecture(),
OpenPOWER on IntegriCloud