summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test
diff options
context:
space:
mode:
authorChris Bieneman <beanz@apple.com>2016-10-31 22:06:52 +0000
committerChris Bieneman <beanz@apple.com>2016-10-31 22:06:52 +0000
commit5d51a769949a59e5cabf2a09a955d333d11dafa4 (patch)
tree8369b2e2d1045ad294314697fc033b5b5e6b03ef /lldb/packages/Python/lldbsuite/test
parent01fd221a294a967a7e5927a63393406b2c567e64 (diff)
downloadbcm5719-llvm-5d51a769949a59e5cabf2a09a955d333d11dafa4.tar.gz
bcm5719-llvm-5d51a769949a59e5cabf2a09a955d333d11dafa4.zip
[Test-Suite] Speculative fix for darwin bots
When building with Xcode it looks like some of the logic in my test changes went haywire. This should fix it. llvm-svn: 285646
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test')
-rw-r--r--lldb/packages/Python/lldbsuite/test/dotest.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py
index 262590cd14b..6b6b2574e63 100644
--- a/lldb/packages/Python/lldbsuite/test/dotest.py
+++ b/lldb/packages/Python/lldbsuite/test/dotest.py
@@ -688,8 +688,8 @@ def setupSysPath():
configuration.skipCategories.append("lldb-mi")
lldbPythonDir = None # The directory that contains 'lldb/__init__.py'
- if os.path.exists(os.path.join(lldbLibDir, "LLDB.framework")):
- configuration.lldbFrameworkPath = lldbLibDir
+ if not configuration.lldbFrameworkPath and os.path.exists(os.path.join(lldbLibDir, "LLDB.framework")):
+ configuration.lldbFrameworkPath = os.path.join(lldbLibDir, "LLDB.framework")
if configuration.lldbFrameworkPath:
lldbtest_config.lldbFrameworkPath = configuration.lldbFrameworkPath
candidatePath = os.path.join(
OpenPOWER on IntegriCloud