[llvm] 9bf4c9e - [Lit] Pass through SSH_AUTH_SOCK from the surrounding environment

Louis Dionne via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 12 10:59:40 PDT 2020


Author: Louis Dionne
Date: 2020-06-12T13:59:29-04:00
New Revision: 9bf4c9e4161d912cd4d1468bfb60b48140e5bd2e

URL: https://github.com/llvm/llvm-project/commit/9bf4c9e4161d912cd4d1468bfb60b48140e5bd2e
DIFF: https://github.com/llvm/llvm-project/commit/9bf4c9e4161d912cd4d1468bfb60b48140e5bd2e.diff

LOG: [Lit] Pass through SSH_AUTH_SOCK from the surrounding environment

This allows running Lit tests that run ssh without having to manually
enter a password (which is inconvenient), by just having ssh-agent
setup properly when running the test suite.

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 cfc0dab86e11..38d05066a2b0 100644
--- a/llvm/utils/lit/lit/TestingConfig.py
+++ b/llvm/utils/lit/lit/TestingConfig.py
@@ -23,7 +23,7 @@ def fromdefaults(litConfig):
 
         pass_vars = ['LIBRARY_PATH', 'LD_LIBRARY_PATH', 'SYSTEMROOT', 'TERM',
                      'CLANG', 'LD_PRELOAD', 'ASAN_OPTIONS', 'UBSAN_OPTIONS',
-                     'LSAN_OPTIONS', 'ADB', 'ANDROID_SERIAL',
+                     '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',


        


More information about the llvm-commits mailing list