From 33b9fa7caaf20db4a851538363d04f70216c7101 Mon Sep 17 00:00:00 2001 From: Victor Leschuk Date: Fri, 9 Feb 2018 05:28:38 +0000 Subject: [PATCH] [lit] Pass CLANG env var to testing configuration Allow CLANG environment variable be copied into the testing configuration and proper support testing with a custom path to the clang executable. Signed-off-by: Vladimir Vereschaka llvm-svn: 324706 --- llvm/utils/lit/lit/TestingConfig.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/utils/lit/lit/TestingConfig.py b/llvm/utils/lit/lit/TestingConfig.py index c729ec0..80a848b 100644 --- a/llvm/utils/lit/lit/TestingConfig.py +++ b/llvm/utils/lit/lit/TestingConfig.py @@ -22,7 +22,7 @@ class TestingConfig: } pass_vars = ['LIBRARY_PATH', 'LD_LIBRARY_PATH', 'SYSTEMROOT', 'TERM', - 'LD_PRELOAD', 'ASAN_OPTIONS', 'UBSAN_OPTIONS', + 'CLANG', 'LD_PRELOAD', 'ASAN_OPTIONS', 'UBSAN_OPTIONS', 'LSAN_OPTIONS', 'ADB', 'ANDROID_SERIAL', 'SANITIZER_IGNORE_CVE_2016_2143', 'TMPDIR', 'TMP', 'TEMP', 'TEMPDIR', 'AVRLIT_BOARD', 'AVRLIT_PORT'] -- 2.7.4