summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/macosx/nslog
diff options
context:
space:
mode:
authorAdrian Prantl <aprantl@apple.com>2018-08-21 16:13:37 +0000
committerAdrian Prantl <aprantl@apple.com>2018-08-21 16:13:37 +0000
commit95f21584a9b3b1804cc5bf9efbe8b3b597a2ddc1 (patch)
tree4be2138a56f2a3371f29833006acb1342d8ab62a /lldb/packages/Python/lldbsuite/test/macosx/nslog
parentb666e73dd9871e675d71109eb0d1f6fc1335e247 (diff)
downloadbcm5719-llvm-95f21584a9b3b1804cc5bf9efbe8b3b597a2ddc1.tar.gz
bcm5719-llvm-95f21584a9b3b1804cc5bf9efbe8b3b597a2ddc1.zip
lldbtest.py: Unconditionally set the clang module cache path.
This should fix the errors observable on the new lldb-cmake bot. llvm-svn: 340293
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/macosx/nslog')
-rw-r--r--lldb/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py b/lldb/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py
index 59b325f5798..287c1c1b87b 100644
--- a/lldb/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py
+++ b/lldb/packages/Python/lldbsuite/test/macosx/nslog/TestDarwinNSLogOutput.py
@@ -95,7 +95,8 @@ class DarwinNSLogOutputTestCase(TestBase):
self.expect(re.compile(r"stop reason = breakpoint"))
def runCmd(self, cmd):
- self.child.sendline(cmd)
+ if self.child:
+ self.child.sendline(cmd)
def expect_prompt(self, exactly=True):
self.expect(self.child_prompt, exactly=exactly)
OpenPOWER on IntegriCloud