Fix passed env var name in lit for Android tests.

The variable is actually called ANDROID_SERIAL.
This was not exercised on the bots until today.
Should fix the sanitizer-x86_64-linux failures.

llvm-svn: 246898
This commit is contained in:
Evgeniy Stepanov 2015-09-04 23:52:04 +00:00
parent a89baa21b8
commit 4dd7104549
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class TestingConfig:
pass_vars = ['LIBRARY_PATH', 'LD_LIBRARY_PATH', 'SYSTEMROOT', 'TERM',
'LD_PRELOAD', 'ASAN_OPTIONS', 'UBSAN_OPTIONS',
'LSAN_OPTIONS', 'ADB', 'ADB_SERIAL']
'LSAN_OPTIONS', 'ADB', 'ANDROID_SERIAL']
for var in pass_vars:
val = os.environ.get(var, '')
# Check for empty string as some variables such as LD_PRELOAD cannot be empty