summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorAlp Toker <alp@nuanti.com>2013-11-15 13:37:49 +0000
committerAlp Toker <alp@nuanti.com>2013-11-15 13:37:49 +0000
commit9c5ae47c94ffae49eed805dc27a736b8958e157c (patch)
treef374a3d3f16a0f2c25504d599c5e1860f8811d16 /clang
parentbf50fbfc21b064294420039b87171c2bf025372a (diff)
downloadbcm5719-llvm-9c5ae47c94ffae49eed805dc27a736b8958e157c.tar.gz
bcm5719-llvm-9c5ae47c94ffae49eed805dc27a736b8958e157c.zip
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
Diffstat (limited to 'clang')
-rw-r--r--clang/test/ASTMerge/Inputs/lit.local.cfg1
-rw-r--r--clang/test/Driver/Inputs/lit.local.cfg1
-rw-r--r--clang/test/Frontend/Inputs/lit.local.cfg1
-rw-r--r--clang/test/Index/Inputs/lit.local.cfg1
-rw-r--r--clang/test/SemaCXX/Inputs/lit.local.cfg1
-rw-r--r--clang/test/Tooling/Inputs/lit.local.cfg1
-rw-r--r--clang/test/lit.cfg5
7 files changed, 5 insertions, 6 deletions
diff --git a/clang/test/ASTMerge/Inputs/lit.local.cfg b/clang/test/ASTMerge/Inputs/lit.local.cfg
deleted file mode 100644
index e6f55eef7af..00000000000
--- a/clang/test/ASTMerge/Inputs/lit.local.cfg
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = []
diff --git a/clang/test/Driver/Inputs/lit.local.cfg b/clang/test/Driver/Inputs/lit.local.cfg
deleted file mode 100644
index e6f55eef7af..00000000000
--- a/clang/test/Driver/Inputs/lit.local.cfg
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = []
diff --git a/clang/test/Frontend/Inputs/lit.local.cfg b/clang/test/Frontend/Inputs/lit.local.cfg
deleted file mode 100644
index e6f55eef7af..00000000000
--- a/clang/test/Frontend/Inputs/lit.local.cfg
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = []
diff --git a/clang/test/Index/Inputs/lit.local.cfg b/clang/test/Index/Inputs/lit.local.cfg
deleted file mode 100644
index e6f55eef7af..00000000000
--- a/clang/test/Index/Inputs/lit.local.cfg
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = []
diff --git a/clang/test/SemaCXX/Inputs/lit.local.cfg b/clang/test/SemaCXX/Inputs/lit.local.cfg
deleted file mode 100644
index e6f55eef7af..00000000000
--- a/clang/test/SemaCXX/Inputs/lit.local.cfg
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = []
diff --git a/clang/test/Tooling/Inputs/lit.local.cfg b/clang/test/Tooling/Inputs/lit.local.cfg
deleted file mode 100644
index e6f55eef7af..00000000000
--- a/clang/test/Tooling/Inputs/lit.local.cfg
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = []
diff --git a/clang/test/lit.cfg b/clang/test/lit.cfg
index bfac9f2415b..19daa61a64f 100644
--- a/clang/test/lit.cfg
+++ b/clang/test/lit.cfg
@@ -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__)
OpenPOWER on IntegriCloud