Commit aed01c76 authored by Christian Stenger's avatar Christian Stenger
Browse files

Squish: Support different lldb versions on Linux

Change-Id: I7af39d335c7025dc29ac6cc718089977450a541c
Reviewed-by: default avatarRobert Loehning <>
parent adb052be
......@@ -216,6 +216,8 @@ def __getExpectedDebuggers__():
debuggers = ["gdb", "lldb"]
result.extend(filter(None, map(which, debuggers)))
if platform.system() == 'Linux':
if platform.system() == 'Darwin':
xcodeLLDB = getOutputFromCmdline("xcrun --find lldb").strip("\n")
if xcodeLLDB and os.path.exists(xcodeLLDB) and xcodeLLDB not in result:
......@@ -321,3 +323,10 @@ def __checkCreatedSettings__(settingsFolder):
text = "modified"
test.verify(os.path.isfile(fName) and os.path.getsize(fName) > fMinSize,
"Verifying whether file '%s' has been %s." % (os.path.basename(fName), text))
def findAllFilesInPATH(programGlob):
result = []
for path in os.environ["PATH"].split(os.pathsep):
files = filter(os.path.isfile, glob.glob(os.path.join(path, programGlob)))
return result
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment