[PATCH] D102680: [debuginfo-tests] Stop using installed LLDB and remove redundancy

James Henderson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon May 24 02:17:19 PDT 2021


This revision was automatically updated to reflect the committed changes.
Closed by commit rG5c4a5daf293c: [debuginfo-tests] Stop using installed LLDB and remove redundancy (authored by jhenderson).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102680/new/

https://reviews.llvm.org/D102680

Files:
  debuginfo-tests/lit.cfg.py


Index: debuginfo-tests/lit.cfg.py
===================================================================
--- debuginfo-tests/lit.cfg.py
+++ debuginfo-tests/lit.cfg.py
@@ -118,12 +118,7 @@
         'debuginfo-tests project.'.format(config.host_triple))
 
 # Check which debuggers are available:
-built_lldb = llvm_config.use_llvm_tool('lldb', search_env='LLDB')
-lldb_path = None
-if built_lldb is not None:
-    lldb_path = built_lldb
-elif lit.util.which('lldb') is not None:
-    lldb_path = lit.util.which('lldb')
+lldb_path = llvm_config.use_llvm_tool('lldb', search_env='LLDB')
 
 if lldb_path is not None:
     config.available_features.add('lldb')


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D102680.347328.patch
Type: text/x-patch
Size: 652 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210524/572666b5/attachment.bin>


More information about the llvm-commits mailing list