summaryrefslogtreecommitdiffstats
path: root/test/lit.cfg
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-07-31 05:54:17 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-07-31 05:54:17 +0000
commit1db467f1201981c36ee56928372474a93432ba2b (patch)
treea19f5368cedbc2e3b540b62ef072b614bfc75894 /test/lit.cfg
parent6ebd15e81a4d44ac51c24bffe2705586d5edffee (diff)
MultiTestRunner: Simplify, cleanup, and rename!
- MultiTestRunner will eventually be renamed to 'lit', for LLVM integrated tester/testing. This has the pros of being pronouncable and short. - "Project" level configuration lives in 'lit.cfg', which is also what lit uses to find the root testing directory in some cases. This can be overridden for use in project files which want to precisely specify where things are. - TestRunner.py is not longer able to be invoked directly. - Moved some code to Util.py. - Introduced a configuration object. - Cleaned up --help, removed a few not-very-useful options. - Tried not to break anything that works. :) git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@77665 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/lit.cfg')
-rw-r--r--test/lit.cfg12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/lit.cfg b/test/lit.cfg
new file mode 100644
index 0000000000..89ca044f70
--- /dev/null
+++ b/test/lit.cfg
@@ -0,0 +1,12 @@
+# -*- Python -*-
+
+# Configuration file for the 'lit' test runner.
+
+# suffixes: A list of file extensions to treat as test files.
+suffixes = ['.c', '.cpp']
+
+# environment: The base environment to use when running test commands.
+#
+# The 'PATH' and 'SYSTEMROOT' variables will be set automatically from the lit
+# command line variables.
+environment = {}