aboutsummaryrefslogtreecommitdiff
path: root/test/libcxx/test
diff options
context:
space:
mode:
Diffstat (limited to 'test/libcxx/test')
-rw-r--r--test/libcxx/test/config.py11
-rw-r--r--test/libcxx/test/executor.py9
-rw-r--r--test/libcxx/test/format.py9
-rw-r--r--test/libcxx/test/target_info.py9
-rw-r--r--test/libcxx/test/tracing.py9
5 files changed, 46 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))
diff --git a/test/libcxx/test/executor.py b/test/libcxx/test/executor.py
index f0356ceca784..ee4288fb0083 100644
--- a/test/libcxx/test/executor.py
+++ b/test/libcxx/test/executor.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 os
from libcxx.test import tracing
diff --git a/test/libcxx/test/format.py b/test/libcxx/test/format.py
index 19c9fc742a49..ca934a4b395f 100644
--- a/test/libcxx/test/format.py
+++ b/test/libcxx/test/format.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 errno
import os
import time
diff --git a/test/libcxx/test/target_info.py b/test/libcxx/test/target_info.py
index df216fcb21fa..7ca08bea193a 100644
--- a/test/libcxx/test/target_info.py
+++ b/test/libcxx/test/target_info.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 importlib
import lit.util # pylint: disable=import-error,no-name-in-module
import locale
diff --git a/test/libcxx/test/tracing.py b/test/libcxx/test/tracing.py
index 766fc192f9f5..c590ba3efd01 100644
--- a/test/libcxx/test/tracing.py
+++ b/test/libcxx/test/tracing.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 os
import inspect