diff options
| author | Zachary Turner <zturner@google.com> | 2015-10-22 19:55:18 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2015-10-22 19:55:18 +0000 |
| commit | 7b24ff15091655cafefd2985b2ff17b07363351f (patch) | |
| tree | 644c7290334ae47ea6b38b6b1e4a31a34d8f3614 | |
| parent | 746bb5e4576196afa22d952b9d7865d14e7fc2a1 (diff) | |
| download | bcm5719-llvm-7b24ff15091655cafefd2985b2ff17b07363351f.tar.gz bcm5719-llvm-7b24ff15091655cafefd2985b2ff17b07363351f.zip | |
Remove special case logic for finding 3rd party libs
llvm-svn: 251047
| -rw-r--r-- | lldb/lldb_shared_base.py | 2 | ||||
| -rwxr-xr-x | lldb/test/dotest.py | 5 |
2 files changed, 1 insertions, 6 deletions
diff --git a/lldb/lldb_shared_base.py b/lldb/lldb_shared_base.py index 6612414faff..466de5d7a4a 100644 --- a/lldb/lldb_shared_base.py +++ b/lldb/lldb_shared_base.py @@ -10,6 +10,6 @@ def add_third_party_module_dirs(lldb_root): module_dirs = os.listdir(third_party_modules_dir) for module_dir in module_dirs: module_dir = os.path.join(third_party_modules_dir, module_dir) - sys.path.append(module_dir) + sys.path.insert(0, module_dir) lldb_root = os.path.dirname(inspect.getfile(inspect.currentframe())) add_third_party_module_dirs(lldb_root) diff --git a/lldb/test/dotest.py b/lldb/test/dotest.py index 17b359ab556..883379daf0d 100755 --- a/lldb/test/dotest.py +++ b/lldb/test/dotest.py @@ -1116,14 +1116,9 @@ def setupSysPath(): os.environ["LLDB_SRC"] = os.path.join(scriptPath, os.pardir) pluginPath = os.path.join(scriptPath, 'plugins') - pexpectPath = os.path.join(scriptPath, 'pexpect-2.4') toolsLLDBMIPath = os.path.join(scriptPath, 'tools', 'lldb-mi') toolsLLDBServerPath = os.path.join(scriptPath, 'tools', 'lldb-server') - # Put embedded pexpect at front of the load path so we ensure we - # use that version. - sys.path.insert(0, pexpectPath) - # Insert script dir, plugin dir, lldb-mi dir and lldb-server dir to the sys.path. sys.path.insert(0, scriptPath) sys.path.insert(0, pluginPath) |

