[libcxx-commits] [libcxx] 2672735 - [libc++] Make sure we execute tests with the current environment
Louis Dionne via libcxx-commits
libcxx-commits at lists.llvm.org
Mon Apr 6 10:38:27 PDT 2020
Author: Louis Dionne
Date: 2020-04-06T13:38:11-04:00
New Revision: 267273563dd974abe1d7cda4513fef884cf0eb3e
URL: https://github.com/llvm/llvm-project/commit/267273563dd974abe1d7cda4513fef884cf0eb3e
DIFF: https://github.com/llvm/llvm-project/commit/267273563dd974abe1d7cda4513fef884cf0eb3e.diff
LOG: [libc++] Make sure we execute tests with the current environment
The new libc++ test format doesn't automatically do this (cause it
would be the wrong place to do it).
Added:
Modified:
libcxx/utils/libcxx/test/config.py
Removed:
################################################################################
diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py
index 0a5f62eefe30..80aa4f2f3df5 100644
--- a/libcxx/utils/libcxx/test/config.py
+++ b/libcxx/utils/libcxx/test/config.py
@@ -1185,6 +1185,7 @@ def configure_deployment(self):
def configure_env(self):
self.target_info.configure_env(self.exec_env)
+ self.config.environment = dict(os.environ)
def add_path(self, dest_env, new_path):
self.target_info.add_path(dest_env, new_path)
More information about the libcxx-commits
mailing list