summaryrefslogtreecommitdiff
path: root/utils/lit/lit/ExampleTests/lit.cfg
diff options
context:
space:
mode:
Diffstat (limited to 'utils/lit/lit/ExampleTests/lit.cfg')
-rw-r--r--utils/lit/lit/ExampleTests/lit.cfg23
1 files changed, 23 insertions, 0 deletions
diff --git a/utils/lit/lit/ExampleTests/lit.cfg b/utils/lit/lit/ExampleTests/lit.cfg
new file mode 100644
index 0000000000..dbd574f8bd
--- /dev/null
+++ b/utils/lit/lit/ExampleTests/lit.cfg
@@ -0,0 +1,23 @@
+# -*- Python -*-
+
+# Configuration file for the 'lit' test runner.
+
+# name: The name of this test suite.
+config.name = 'Examples'
+
+# suffixes: A list of file extensions to treat as test files.
+config.suffixes = ['.c', '.cpp', '.m', '.mm', '.ll']
+
+# testFormat: The test format to use to interpret tests.
+config.test_format = lit.formats.ShTest()
+
+# test_source_root: The path where tests are located (default is the test suite
+# root).
+config.test_source_root = None
+
+# test_exec_root: The path where tests are located (default is the test suite
+# root).
+config.test_exec_root = None
+
+# target_triple: Used by ShTest and TclTest formats for XFAIL checks.
+config.target_triple = 'foo'