When specifying a relative path for the --framework option to dotest.py, Python would end up being confused and unable to locate the embedded_interpreter module, causing every testcase that uses the Script Interpreter (e.g. functionalities/data-formatter/data-formatter-stl/libstdcpp) to fail without even trying
This checkin fixes that problem by absolutizing the path before pushing it to the sys.path llvm-svn: 179341
This commit is contained in:
parent
da0ab491b6
commit
ea6a58e2ae
|
|
@ -913,6 +913,8 @@ def setupSysPath():
|
|||
if frameWithVersion != "" :
|
||||
lldbPath = before + "LLDB.framework" + after
|
||||
|
||||
lldbPath = os.path.abspath(lldbPath)
|
||||
|
||||
# If tests need to find LLDB_FRAMEWORK, now they can do it
|
||||
os.environ["LLDB_FRAMEWORK"] = os.path.dirname(os.path.dirname(lldbPath))
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue