]> granicus.if.org Git - clang/commitdiff
Ignore test Inputs globally and remove redundant lit.local.cfg files
authorAlp Toker <alp@nuanti.com>
Fri, 15 Nov 2013 13:37:49 +0000 (13:37 +0000)
committerAlp Toker <alp@nuanti.com>
Fri, 15 Nov 2013 13:37:49 +0000 (13:37 +0000)
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.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@194814 91177308-0d34-0410-b5e6-96231b3b80d8

test/ASTMerge/Inputs/lit.local.cfg [deleted file]
test/Driver/Inputs/lit.local.cfg [deleted file]
test/Frontend/Inputs/lit.local.cfg [deleted file]
test/Index/Inputs/lit.local.cfg [deleted file]
test/SemaCXX/Inputs/lit.local.cfg [deleted file]
test/Tooling/Inputs/lit.local.cfg [deleted file]
test/lit.cfg

diff --git a/test/ASTMerge/Inputs/lit.local.cfg b/test/ASTMerge/Inputs/lit.local.cfg
deleted file mode 100644 (file)
index e6f55ee..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = []
diff --git a/test/Driver/Inputs/lit.local.cfg b/test/Driver/Inputs/lit.local.cfg
deleted file mode 100644 (file)
index e6f55ee..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = []
diff --git a/test/Frontend/Inputs/lit.local.cfg b/test/Frontend/Inputs/lit.local.cfg
deleted file mode 100644 (file)
index e6f55ee..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = []
diff --git a/test/Index/Inputs/lit.local.cfg b/test/Index/Inputs/lit.local.cfg
deleted file mode 100644 (file)
index e6f55ee..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = []
diff --git a/test/SemaCXX/Inputs/lit.local.cfg b/test/SemaCXX/Inputs/lit.local.cfg
deleted file mode 100644 (file)
index e6f55ee..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = []
diff --git a/test/Tooling/Inputs/lit.local.cfg b/test/Tooling/Inputs/lit.local.cfg
deleted file mode 100644 (file)
index e6f55ee..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = []
index bfac9f2415be3e45bea0cd552aa0476ed1bc4c70..19daa61a64ffe69486b6e551abcb2412eb5cad40 100644 (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__)