llvm.org GIT mirror llvm / 0d1ad62
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 Evgeniy Stepanov 4 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
2323
2424 pass_vars = ['LIBRARY_PATH', 'LD_LIBRARY_PATH', 'SYSTEMROOT', 'TERM',
2525 'LD_PRELOAD', 'ASAN_OPTIONS', 'UBSAN_OPTIONS',
26 'LSAN_OPTIONS']
26 'LSAN_OPTIONS', 'ADB', 'ADB_SERIAL']
2727 for var in pass_vars:
2828 val = os.environ.get(var, '')
2929 # Check for empty string as some variables such as LD_PRELOAD cannot be empty