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

Alp Toker alp at nuanti.com
Fri Nov 15 05:37:50 PST 2013


Author: alp
Date: Fri Nov 15 07:37:49 2013
New Revision: 194814

URL: http://llvm.org/viewvc/llvm-project?rev=194814&view=rev
Log:
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.

Removed:
    cfe/trunk/test/ASTMerge/Inputs/lit.local.cfg
    cfe/trunk/test/Driver/Inputs/lit.local.cfg
    cfe/trunk/test/Frontend/Inputs/lit.local.cfg
    cfe/trunk/test/Index/Inputs/lit.local.cfg
    cfe/trunk/test/SemaCXX/Inputs/lit.local.cfg
    cfe/trunk/test/Tooling/Inputs/lit.local.cfg
Modified:
    cfe/trunk/test/lit.cfg

Removed: cfe/trunk/test/ASTMerge/Inputs/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/ASTMerge/Inputs/lit.local.cfg?rev=194813&view=auto
==============================================================================
--- cfe/trunk/test/ASTMerge/Inputs/lit.local.cfg (original)
+++ cfe/trunk/test/ASTMerge/Inputs/lit.local.cfg (removed)
@@ -1 +0,0 @@
-config.suffixes = []

Removed: cfe/trunk/test/Driver/Inputs/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Driver/Inputs/lit.local.cfg?rev=194813&view=auto
==============================================================================
--- cfe/trunk/test/Driver/Inputs/lit.local.cfg (original)
+++ cfe/trunk/test/Driver/Inputs/lit.local.cfg (removed)
@@ -1 +0,0 @@
-config.suffixes = []

Removed: cfe/trunk/test/Frontend/Inputs/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Frontend/Inputs/lit.local.cfg?rev=194813&view=auto
==============================================================================
--- cfe/trunk/test/Frontend/Inputs/lit.local.cfg (original)
+++ cfe/trunk/test/Frontend/Inputs/lit.local.cfg (removed)
@@ -1 +0,0 @@
-config.suffixes = []

Removed: cfe/trunk/test/Index/Inputs/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Index/Inputs/lit.local.cfg?rev=194813&view=auto
==============================================================================
--- cfe/trunk/test/Index/Inputs/lit.local.cfg (original)
+++ cfe/trunk/test/Index/Inputs/lit.local.cfg (removed)
@@ -1 +0,0 @@
-config.suffixes = []

Removed: cfe/trunk/test/SemaCXX/Inputs/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaCXX/Inputs/lit.local.cfg?rev=194813&view=auto
==============================================================================
--- cfe/trunk/test/SemaCXX/Inputs/lit.local.cfg (original)
+++ cfe/trunk/test/SemaCXX/Inputs/lit.local.cfg (removed)
@@ -1 +0,0 @@
-config.suffixes = []

Removed: cfe/trunk/test/Tooling/Inputs/lit.local.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Tooling/Inputs/lit.local.cfg?rev=194813&view=auto
==============================================================================
--- cfe/trunk/test/Tooling/Inputs/lit.local.cfg (original)
+++ cfe/trunk/test/Tooling/Inputs/lit.local.cfg (removed)
@@ -1 +0,0 @@
-config.suffixes = []

Modified: cfe/trunk/test/lit.cfg
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/lit.cfg?rev=194814&r1=194813&r2=194814&view=diff
==============================================================================
--- cfe/trunk/test/lit.cfg (original)
+++ cfe/trunk/test/lit.cfg Fri Nov 15 07:37:49 2013
@@ -46,6 +46,11 @@ config.test_format = lit.formats.ShTest(
 # 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__)
 





More information about the cfe-commits mailing list