[libcxx] r258217 - Fix enviroment variables when running shell scripts
Eric Fiselier via cfe-commits
cfe-commits at lists.llvm.org
Tue Jan 19 15:06:29 PST 2016
Author: ericwf
Date: Tue Jan 19 17:06:29 2016
New Revision: 258217
URL: http://llvm.org/viewvc/llvm-project?rev=258217&view=rev
Log:
Fix enviroment variables when running shell scripts
Modified:
libcxx/trunk/test/libcxx/test/config.py
Modified: libcxx/trunk/test/libcxx/test/config.py
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/libcxx/test/config.py?rev=258217&r1=258216&r2=258217&view=diff
==============================================================================
--- libcxx/trunk/test/libcxx/test/config.py (original)
+++ libcxx/trunk/test/libcxx/test/config.py Tue Jan 19 17:06:29 2016
@@ -615,7 +615,7 @@ class Configuration(object):
for k, v in self.env.items():
exec_env_str += ' %s=%s' % (k, v)
# Configure run env substitution.
- exec_str = ''
+ exec_str = exec_env_str
if self.lit_config.useValgrind:
exec_str = ' '.join(self.lit_config.valgrindArgs) + exec_env_str
sub.append(('%exec', exec_str))
More information about the cfe-commits
mailing list