[llvm] r240459 - Pass 2 more variables to lit tests.

Evgeniy Stepanov eugeni.stepanov at gmail.com
Tue Jun 23 13:57:26 PDT 2015

Author: eugenis
Date: Tue Jun 23 15:57:26 2015
New Revision: 240459

URL: http://llvm.org/viewvc/llvm-project?rev=240459&view=rev
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.


Modified: llvm/trunk/utils/lit/lit/TestingConfig.py
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/utils/lit/lit/TestingConfig.py?rev=240459&r1=240458&r2=240459&view=diff
--- llvm/trunk/utils/lit/lit/TestingConfig.py (original)
+++ llvm/trunk/utils/lit/lit/TestingConfig.py Tue Jun 23 15:57:26 2015
@@ -24,7 +24,7 @@ class TestingConfig:
         pass_vars = ['LIBRARY_PATH', 'LD_LIBRARY_PATH', 'SYSTEMROOT', 'TERM',
                      'LD_PRELOAD', 'ASAN_OPTIONS', 'UBSAN_OPTIONS',
-                     'LSAN_OPTIONS']
+                     'LSAN_OPTIONS', 'ADB', 'ADB_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

More information about the llvm-commits mailing list