[libcxx] r302604 - Attempt to unbreak Libc++ test configuration

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Tue May 9 17:05:05 PDT 2017


Author: ericwf
Date: Tue May  9 19:05:04 2017
New Revision: 302604

URL: http://llvm.org/viewvc/llvm-project?rev=302604&view=rev
Log:
Attempt to unbreak Libc++ test configuration

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=302604&r1=302603&r2=302604&view=diff
==============================================================================
--- libcxx/trunk/utils/libcxx/test/config.py (original)
+++ libcxx/trunk/utils/libcxx/test/config.py Tue May  9 19:05:04 2017
@@ -67,10 +67,7 @@ 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)
-        # 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.exec_env = 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