aboutsummaryrefslogtreecommitdiff
path: root/test/libcxx
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
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')
-rw-r--r--test/libcxx/compiler.py9
-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
-rw-r--r--test/libcxx/util.py9
7 files changed, 64 insertions, 1 deletions
diff --git a/test/libcxx/compiler.py b/test/libcxx/compiler.py
index 4962038cbbed..7dfb13abbd41 100644
--- a/test/libcxx/compiler.py
+++ b/test/libcxx/compiler.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 lit.util
import libcxx.util
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
diff --git a/test/libcxx/util.py b/test/libcxx/util.py
index 28f2619d69cb..8899ffaa4b26 100644
--- a/test/libcxx/util.py
+++ b/test/libcxx/util.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.
+#
+#===----------------------------------------------------------------------===##
+
from contextlib import contextmanager
import os
import tempfile