From 3388f7c0cbe7a2ec40f8a453abd7ec8e5afd7370 Mon Sep 17 00:00:00 2001 From: Eric Fiselier Date: Tue, 9 May 2017 23:57:22 +0000 Subject: [PATCH] Fix test runtime environment on Windows llvm-svn: 302602 --- libcxx/utils/libcxx/test/config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py index 4778434..fad9e8a 100644 --- a/libcxx/utils/libcxx/test/config.py +++ b/libcxx/utils/libcxx/test/config.py @@ -67,7 +67,10 @@ class Configuration(object): self.abi_library_root = None self.link_shared = self.get_lit_bool('enable_shared', default=True) self.debug_build = self.get_lit_bool('debug_build', default=False) - self.exec_env = {} + # FIXME: Some tests on Windows require we copy all of the environment + # variables into the runtime environment. Should we do this on other + # platforms too? + self.exec_env = {} if not self.is_windows else dict(os.environ) self.use_target = False self.use_system_cxx_lib = False self.use_clang_verify = False -- 2.7.4