mirror of
https://github.com/RPCS3/llvm.git
synced 2025-01-30 15:22:41 +00:00
Pass 2 more variables to lit tests.
Pass ADB and ADB_SERIAL environment variables to lit tests. This would allow running Android tests in compiler-rt when there is more than one device attached to the host. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@240459 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ef42e1115f
commit
0d1ad626e8
@ -24,7 +24,7 @@ class TestingConfig:
|
|||||||
|
|
||||||
pass_vars = ['LIBRARY_PATH', 'LD_LIBRARY_PATH', 'SYSTEMROOT', 'TERM',
|
pass_vars = ['LIBRARY_PATH', 'LD_LIBRARY_PATH', 'SYSTEMROOT', 'TERM',
|
||||||
'LD_PRELOAD', 'ASAN_OPTIONS', 'UBSAN_OPTIONS',
|
'LD_PRELOAD', 'ASAN_OPTIONS', 'UBSAN_OPTIONS',
|
||||||
'LSAN_OPTIONS']
|
'LSAN_OPTIONS', 'ADB', 'ADB_SERIAL']
|
||||||
for var in pass_vars:
|
for var in pass_vars:
|
||||||
val = os.environ.get(var, '')
|
val = os.environ.get(var, '')
|
||||||
# Check for empty string as some variables such as LD_PRELOAD cannot be empty
|
# Check for empty string as some variables such as LD_PRELOAD cannot be empty
|
||||||
|
Loading…
x
Reference in New Issue
Block a user