Ignore test Inputs globally and remove redundant lit.local.cfg files

By adding a default config.excludes pattern we can avoid individual
suppressions in subdirectories.

This matches LLVM's lit.cfg which also excludes a few other common non-test
filenames for consistency.

llvm-svn: 194814
This commit is contained in:
Alp Toker 2013-11-15 13:37:49 +00:00
parent bf50fbfc21
commit 9c5ae47c94
7 changed files with 5 additions and 6 deletions

View File

@ -1 +0,0 @@
config.suffixes = []

View File

@ -1 +0,0 @@
config.suffixes = []

View File

@ -1 +0,0 @@
config.suffixes = []

View File

@ -1 +0,0 @@
config.suffixes = []

View File

@ -1 +0,0 @@
config.suffixes = []

View File

@ -1 +0,0 @@
config.suffixes = []

View File

@ -46,6 +46,11 @@ config.test_format = lit.formats.ShTest(execute_external)
# suffixes: A list of file extensions to treat as test files.
config.suffixes = ['.c', '.cpp', '.m', '.mm', '.cu', '.ll', '.cl', '.s']
# excludes: A list of directories to exclude from the testsuite. The 'Inputs'
# subdirectories contain auxiliary inputs for various tests in their parent
# directories.
config.excludes = ['Inputs', 'CMakeLists.txt', 'README.txt', 'LICENSE.txt']
# test_source_root: The root path where tests are located.
config.test_source_root = os.path.dirname(__file__)