[llvm] 43e0ced - [NFC] Reformat a part of TestingConfig.py
Vitaly Buka via llvm-commits
llvm-commits at lists.llvm.org
Fri Apr 15 00:51:02 PDT 2022
Author: Vitaly Buka
Date: 2022-04-15T00:50:52-07:00
New Revision: 43e0cedc1e3d01cb8b2a7ada4418cf76e9382613
URL: https://github.com/llvm/llvm-project/commit/43e0cedc1e3d01cb8b2a7ada4418cf76e9382613
DIFF: https://github.com/llvm/llvm-project/commit/43e0cedc1e3d01cb8b2a7ada4418cf76e9382613.diff
LOG: [NFC] Reformat a part of TestingConfig.py
Added:
Modified:
llvm/utils/lit/lit/TestingConfig.py
Removed:
################################################################################
diff --git a/llvm/utils/lit/lit/TestingConfig.py b/llvm/utils/lit/lit/TestingConfig.py
index a9660b39c9cdb..1eab203a1c964 100644
--- a/llvm/utils/lit/lit/TestingConfig.py
+++ b/llvm/utils/lit/lit/TestingConfig.py
@@ -21,21 +21,45 @@ def fromdefaults(litConfig):
'LLVM_DISABLE_CRASH_REPORT' : '1',
}
- pass_vars = ['LIBRARY_PATH', 'LD_LIBRARY_PATH', 'SYSTEMROOT', 'TERM',
- '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', 'SOURCE_DATE_EPOCH','GTEST_FILTER']
+ pass_vars = [
+ 'LIBRARY_PATH',
+ 'LD_LIBRARY_PATH',
+ 'SYSTEMROOT',
+ 'TERM',
+ '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',
+ 'SOURCE_DATE_EPOCH',
+ 'GTEST_FILTER',
+ ]
if sys.platform == 'win32':
- pass_vars.append('COMSPEC')
- pass_vars.append('INCLUDE')
- pass_vars.append('LIB')
- pass_vars.append('PATHEXT')
- pass_vars.append('USERPROFILE')
+ pass_vars += [
+ 'COMSPEC',
+ 'INCLUDE',
+ 'LIB',
+ 'PATHEXT',
+ 'USERPROFILE',
+ ]
environment['PYTHONBUFFERED'] = '1'
for var in pass_vars:
More information about the llvm-commits
mailing list