[compiler-rt] 979c502 - Revert "[compiler-rt] [test] Use the parent process env as base env in tests"

Sergej Jaskiewicz via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 10 10:02:09 PDT 2020


Author: Sergej Jaskiewicz
Date: 2020-07-10T20:01:50+03:00
New Revision: 979c5023d3f0656cf51bd645936f52acd62b0333

URL: https://github.com/llvm/llvm-project/commit/979c5023d3f0656cf51bd645936f52acd62b0333
DIFF: https://github.com/llvm/llvm-project/commit/979c5023d3f0656cf51bd645936f52acd62b0333.diff

LOG: Revert "[compiler-rt] [test] Use the parent process env as base env in tests"

This reverts commit 5ab446cfe5503fd4431a94db4d741cf3b5fdcd15.

That commit caused memory sanitizer test failures on PowerPC buildbots

Added: 
    

Modified: 
    compiler-rt/test/lit.common.cfg.py

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/lit.common.cfg.py b/compiler-rt/test/lit.common.cfg.py
index 32a602bfb318..9d0c214bd9a7 100644
--- a/compiler-rt/test/lit.common.cfg.py
+++ b/compiler-rt/test/lit.common.cfg.py
@@ -70,8 +70,6 @@
     # to link. In r19 and later we just use the default which is libc++.
     config.cxx_mode_flags.append('-stdlib=libstdc++')
 
-config.environment = dict(os.environ)
-
 # Clear some environment variables that might affect Clang.
 possibly_dangerous_env_vars = ['ASAN_OPTIONS', 'DFSAN_OPTIONS', 'LSAN_OPTIONS',
                                'MSAN_OPTIONS', 'UBSAN_OPTIONS',


        


More information about the llvm-commits mailing list