[cfe-commits] r94080 - in /cfe/trunk/utils/OptionalTests: ./ Extra/ Extra/README.txt README.txt lit.cfg

Daniel Dunbar daniel at zuster.org
Thu Jan 21 08:55:40 PST 2010


Author: ddunbar
Date: Thu Jan 21 10:55:39 2010
New Revision: 94080

URL: http://llvm.org/viewvc/llvm-project?rev=94080&view=rev
Log:
Add utils/OptionalTests, a dumping ground for additional (lit) tests which for
one reason or another don't belong in the regular test suite.

Inside is utils/OptionalTests/Extra which is specifically for tests that match
the layout of the regular tests.

Added:
    cfe/trunk/utils/OptionalTests/
    cfe/trunk/utils/OptionalTests/Extra/
    cfe/trunk/utils/OptionalTests/Extra/README.txt
    cfe/trunk/utils/OptionalTests/README.txt
    cfe/trunk/utils/OptionalTests/lit.cfg

Added: cfe/trunk/utils/OptionalTests/Extra/README.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/OptionalTests/Extra/README.txt?rev=94080&view=auto

==============================================================================
--- cfe/trunk/utils/OptionalTests/Extra/README.txt (added)
+++ cfe/trunk/utils/OptionalTests/Extra/README.txt Thu Jan 21 10:55:39 2010
@@ -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.

Added: cfe/trunk/utils/OptionalTests/README.txt
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/OptionalTests/README.txt?rev=94080&view=auto

==============================================================================
--- cfe/trunk/utils/OptionalTests/README.txt (added)
+++ cfe/trunk/utils/OptionalTests/README.txt Thu Jan 21 10:55:39 2010
@@ -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.

Added: cfe/trunk/utils/OptionalTests/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/utils/OptionalTests/lit.cfg?rev=94080&view=auto

==============================================================================
--- cfe/trunk/utils/OptionalTests/lit.cfg (added)
+++ cfe/trunk/utils/OptionalTests/lit.cfg Thu Jan 21 10:55:39 2010
@@ -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





More information about the cfe-commits mailing list