aboutsummaryrefslogtreecommitdiff
path: root/test/libcxx/test/config.py
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2016-01-22 21:18:04 +0000
committerDimitry Andric <dim@FreeBSD.org>2016-01-22 21:18:04 +0000
commite0b666adaf915eaff59507f0fdcc4a120f68ce40 (patch)
tree427694574809fd86191343f574cd2e23bbe1f4a6 /test/libcxx/test/config.py
parentdfd66a522f6e3ab9b03c0921ba40f012de0958b0 (diff)
downloadsrc-e0b666adaf915eaff59507f0fdcc4a120f68ce40.tar.gz
src-e0b666adaf915eaff59507f0fdcc4a120f68ce40.zip
Vendor import of libc++ release_38 branch r258549:vendor/libc++/libc++-release_38-r258549
Notes
Notes: svn path=/vendor/libc++/dist/; revision=294606 svn path=/vendor/libc++/libc++-release_38-r258549/; revision=294607; tag=vendor/libc++/libc++-release_38-r258549
Diffstat (limited to 'test/libcxx/test/config.py')
-rw-r--r--test/libcxx/test/config.py11
1 files changed, 10 insertions, 1 deletions
diff --git a/test/libcxx/test/config.py b/test/libcxx/test/config.py
index 5ab7fcb37401..f8096ad15f8a 100644
--- a/test/libcxx/test/config.py
+++ b/test/libcxx/test/config.py
@@ -1,3 +1,12 @@
+#===----------------------------------------------------------------------===##
+#
+# The LLVM Compiler Infrastructure
+#
+# This file is dual licensed under the MIT and the University of Illinois Open
+# Source Licenses. See LICENSE.TXT for details.
+#
+#===----------------------------------------------------------------------===##
+
import locale
import os
import platform
@@ -606,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))