[PATCH] D101982: [debuginfo-tests] Fix environment variable used to specify LLDB
James Henderson via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 17 03:04:16 PDT 2021
jhenderson updated this revision to Diff 345805.
jhenderson retitled this revision from "[debuginfo-tests] Allow use of environment variable to specify tools" to "[debuginfo-tests] Fix environment variable used to specify LLDB".
jhenderson edited the summary of this revision.
jhenderson added a comment.
This revision is now accepted and ready to land.
Reduce scope of patch to just LLDB fix.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D101982/new/
https://reviews.llvm.org/D101982
Files:
debuginfo-tests/lit.cfg.py
llvm/utils/lit/lit/TestingConfig.py
Index: llvm/utils/lit/lit/TestingConfig.py
===================================================================
--- llvm/utils/lit/lit/TestingConfig.py
+++ llvm/utils/lit/lit/TestingConfig.py
@@ -22,12 +22,13 @@
}
pass_vars = ['LIBRARY_PATH', 'LD_LIBRARY_PATH', 'SYSTEMROOT', 'TERM',
- 'CLANG', 'LD_PRELOAD', 'ASAN_OPTIONS', 'UBSAN_OPTIONS',
- 'LSAN_OPTIONS', 'ADB', 'ANDROID_SERIAL', 'SSH_AUTH_SOCK',
- 'SANITIZER_IGNORE_CVE_2016_2143', 'TMPDIR', 'TMP', 'TEMP',
- 'TEMPDIR', 'AVRLIT_BOARD', 'AVRLIT_PORT',
- 'FILECHECK_OPTS', 'VCINSTALLDIR', 'VCToolsinstallDir',
- 'VSINSTALLDIR', 'WindowsSdkDir', 'WindowsSDKLibVersion']
+ 'CLANG', 'LLDB', 'LD_PRELOAD', 'ASAN_OPTIONS',
+ 'UBSAN_OPTIONS', 'LSAN_OPTIONS', 'ADB', 'ANDROID_SERIAL',
+ 'SSH_AUTH_SOCK', 'SANITIZER_IGNORE_CVE_2016_2143',
+ 'TMPDIR', 'TMP', 'TEMP', 'TEMPDIR', 'AVRLIT_BOARD',
+ 'AVRLIT_PORT', 'FILECHECK_OPTS', 'VCINSTALLDIR',
+ 'VCToolsinstallDir', 'VSINSTALLDIR', 'WindowsSdkDir',
+ 'WindowsSDKLibVersion']
if sys.platform == 'win32':
pass_vars.append('INCLUDE')
Index: debuginfo-tests/lit.cfg.py
===================================================================
--- debuginfo-tests/lit.cfg.py
+++ debuginfo-tests/lit.cfg.py
@@ -118,7 +118,7 @@
'debuginfo-tests project.'.format(config.host_triple))
# Check which debuggers are available:
-built_lldb = llvm_config.use_llvm_tool('lldb', search_env='CLANG')
+built_lldb = llvm_config.use_llvm_tool('lldb', search_env='LLDB')
lldb_path = None
if built_lldb is not None:
lldb_path = built_lldb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101982.345805.patch
Type: text/x-patch
Size: 1834 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20210517/3595edad/attachment.bin>
More information about the llvm-commits
mailing list