[all-commits] [llvm/llvm-project] 5ab446: [compiler-rt] [test] Use the parent process env as...
Sergej Jaskiewicz via All-commits
all-commits at lists.llvm.org
Thu Jul 9 09:45:02 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 5ab446cfe5503fd4431a94db4d741cf3b5fdcd15
https://github.com/llvm/llvm-project/commit/5ab446cfe5503fd4431a94db4d741cf3b5fdcd15
Author: Sergej Jaskiewicz <jaskiewiczs at icloud.com>
Date: 2020-07-09 (Thu, 09 Jul 2020)
Changed paths:
M compiler-rt/test/lit.common.cfg.py
Log Message:
-----------
[compiler-rt] [test] Use the parent process env as base env in tests
Summary:
Right now the lit config builds up an environment that the tests will be run in. However, it does it from scratch instead of adding new variables to the parent process environment. This may (and does) result in strange behavior when running tests with an executor (i. e. with the `COMPILER_RT_EMULATOR` CMake variable set to something), since the executor may need some of the parent process's environment variables.
Here this is fixed.
Reviewers: compnerd, phosek
Reviewed By: compnerd
Subscribers: dberris, #sanitizers
Tags: #sanitizers
Differential Revision: https://reviews.llvm.org/D83486
More information about the All-commits
mailing list