diff --git a/lldb/packages/Python/lldbsuite/test/dotest.py b/lldb/packages/Python/lldbsuite/test/dotest.py index 4a38cdade5a6..6c35d81e3ab5 100644 --- a/lldb/packages/Python/lldbsuite/test/dotest.py +++ b/lldb/packages/Python/lldbsuite/test/dotest.py @@ -638,7 +638,7 @@ def setupSysPath(): if not lldbPythonDir: if platform.system() == "Darwin": python_resource_dir = ['LLDB.framework', 'Resources', 'Python'] - outputPaths = getXcodeOutputPaths() + outputPaths = getXcodeOutputPaths(lldbRootDirectory) for outputPath in outputPaths: candidatePath = os.path.join(outputPath, python_resource_dir) if os.path.isfile(os.path.join(candidatePath, init_in_python_dir)):