summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/utils/OptionalTests/Extra/README.txt3
-rw-r--r--clang/utils/OptionalTests/README.txt4
-rw-r--r--clang/utils/OptionalTests/lit.cfg17
3 files changed, 24 insertions, 0 deletions
diff --git a/clang/utils/OptionalTests/Extra/README.txt b/clang/utils/OptionalTests/Extra/README.txt
new file mode 100644
index 00000000000..565241b51b7
--- /dev/null
+++ b/clang/utils/OptionalTests/Extra/README.txt
@@ -0,0 +1,3 @@
+This directory is for extra unit style tests following the structure of
+clang/tests, but which are not portable or not suitable for inclusion in the
+regular test suite.
diff --git a/clang/utils/OptionalTests/README.txt b/clang/utils/OptionalTests/README.txt
new file mode 100644
index 00000000000..4ffdb3bb0d1
--- /dev/null
+++ b/clang/utils/OptionalTests/README.txt
@@ -0,0 +1,4 @@
+This is a dumping ground for additional tests which do not fit cleanly into the
+clang regression tests. For example, tests which are not portable, require
+additional software or configuration, take an excessive time to run, or are
+flaky can be kept here.
diff --git a/clang/utils/OptionalTests/lit.cfg b/clang/utils/OptionalTests/lit.cfg
new file mode 100644
index 00000000000..47f0a06b37b
--- /dev/null
+++ b/clang/utils/OptionalTests/lit.cfg
@@ -0,0 +1,17 @@
+# -*- Python -*-
+
+# Configuration file for the 'lit' test runner.
+
+# Load the main clang test config so we can leech its clang finding logic.
+lit.load_config(config, os.path.join(os.path.dirname(__file__),
+ '..', '..', 'test', 'lit.cfg'))
+assert config.clang, "Failed to set clang!?"
+
+# name: The name of this test suite.
+config.name = 'Clang-Opt-Tests'
+
+# suffixes: A list of file extensions to treat as test files.
+config.suffixes = []
+
+# Reset these from the Clang config.
+config.test_source_root = config.test_exec_root = None
OpenPOWER on IntegriCloud