[libcxx] r302602 - Fix test runtime environment on Windows
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Tue May 9 16:57:22 PDT 2017
Author: ericwf
Date: Tue May 9 18:57:22 2017
New Revision: 302602
URL: http://llvm.org/viewvc/llvm-project?rev=302602&view=rev
Log:
Fix test runtime environment on Windows
Modified:
libcxx/trunk/utils/libcxx/test/config.py
Modified: libcxx/trunk/utils/libcxx/test/config.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/utils/libcxx/test/config.py?rev=302602&r1=302601&r2=302602&view=diff
==============================================================================
--- libcxx/trunk/utils/libcxx/test/config.py (original)
+++ libcxx/trunk/utils/libcxx/test/config.py Tue May 9 18:57:22 2017
@@ -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
More information about the cfe-commits
mailing list