From 5d51a769949a59e5cabf2a09a955d333d11dafa4 Mon Sep 17 00:00:00 2001 From: Chris Bieneman Date: Mon, 31 Oct 2016 22:06:52 +0000 Subject: [PATCH] [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 --- lldb/packages/Python/lldbsuite/test/dotest.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py index 262590cd14b0..6b6b2574e638 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(