diff options
| -rwxr-xr-x | lldb/test/dotest.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/lldb/test/dotest.py b/lldb/test/dotest.py index 9a2e4bd778f..86fb7373940 100755 --- a/lldb/test/dotest.py +++ b/lldb/test/dotest.py @@ -99,16 +99,20 @@ def setupSysPath(): 'Resources', 'Python') relPath = os.path.join(base, 'build', 'Release', 'LLDB.framework', 'Resources', 'Python') + baiPath = os.path.join(base, 'build', 'BuildAndIntegration', + 'LLDB.framework', 'Resources', 'Python') lldbPath = None if os.path.isfile(os.path.join(dbgPath, 'lldb.py')): lldbPath = dbgPath elif os.path.isfile(os.path.join(relPath, 'lldb.py')): lldbPath = relPath + elif os.path.isfile(os.path.join(baiPath, 'lldb.py')): + lldbPath = baiPath if not lldbPath: - print 'This script requires lldb.py to be in either ' + dbgPath, - print ' or' + relPath + print 'This script requires lldb.py to be in either ' + dbgPath + ',', + print relPath + ', or ' + baiPath sys.exit(-1) sys.path.append(lldbPath) |

