diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-01-21 16:55:39 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-01-21 16:55:39 +0000 |
commit | d723b01311cddab3030c0614a3dd0a971e75385f (patch) | |
tree | 84cdeb1f297c158a9b989c3496a923804e4c7de7 /clang | |
parent | f768db7775ca33ca8a592f115b0ae06634367f33 (diff) | |
download | bcm5719-llvm-d723b01311cddab3030c0614a3dd0a971e75385f.tar.gz bcm5719-llvm-d723b01311cddab3030c0614a3dd0a971e75385f.zip |
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.
llvm-svn: 94080
Diffstat (limited to 'clang')
-rw-r--r-- | clang/utils/OptionalTests/Extra/README.txt | 3 | ||||
-rw-r--r-- | clang/utils/OptionalTests/README.txt | 4 | ||||
-rw-r--r-- | clang/utils/OptionalTests/lit.cfg | 17 |
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 |