[tests] Cleanup initialization of test suffixes.
authorDaniel Dunbar <daniel@zuster.org>
Fri, 16 Aug 2013 00:37:11 +0000 (00:37 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Fri, 16 Aug 2013 00:37:11 +0000 (00:37 +0000)
 - Instead of setting the suffixes in a bunch of places, just set one master
   list in the top-level config. We now only modify the suffix list in a few
   suites that have one particular unique suffix (.ml, .mc, .yaml, .td, .py).

 - Aside from removing the need for a bunch of lit.local.cfg files, this enables
   4 tests that were inadvertently being skipped (one in
   Transforms/BranchFolding, a .s file each in DebugInfo/AArch64 and
   CodeGen/PowerPC, and one in CodeGen/SI which is now failing and has been
   XFAILED).

 - This commit also fixes a bunch of config files to use config.root instead of
   older copy-pasted code.

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

157 files changed:
test/Analysis/BasicAA/lit.local.cfg [deleted file]
test/Analysis/BlockFrequencyInfo/lit.local.cfg [deleted file]
test/Analysis/BranchProbabilityInfo/lit.local.cfg [deleted file]
test/Analysis/CallGraph/lit.local.cfg [deleted file]
test/Analysis/CostModel/ARM/lit.local.cfg
test/Analysis/CostModel/PowerPC/lit.local.cfg
test/Analysis/CostModel/X86/lit.local.cfg
test/Analysis/CostModel/lit.local.cfg [deleted file]
test/Analysis/DependenceAnalysis/lit.local.cfg [deleted file]
test/Analysis/Dominators/lit.local.cfg [deleted file]
test/Analysis/GlobalsModRef/lit.local.cfg [deleted file]
test/Analysis/LoopInfo/lit.local.cfg [deleted file]
test/Analysis/MemoryDependenceAnalysis/lit.local.cfg [deleted file]
test/Analysis/PostDominators/lit.local.cfg [deleted file]
test/Analysis/Profiling/lit.local.cfg
test/Analysis/RegionInfo/lit.local.cfg [deleted file]
test/Analysis/ScalarEvolution/lit.local.cfg [deleted file]
test/Analysis/TypeBasedAliasAnalysis/lit.local.cfg [deleted file]
test/Assembler/lit.local.cfg [deleted file]
test/Bindings/Ocaml/lit.local.cfg
test/Bitcode/lit.local.cfg [deleted file]
test/BugPoint/lit.local.cfg [deleted file]
test/CodeGen/AArch64/lit.local.cfg
test/CodeGen/ARM/lit.local.cfg
test/CodeGen/CPP/lit.local.cfg
test/CodeGen/Generic/lit.local.cfg [deleted file]
test/CodeGen/Hexagon/lit.local.cfg
test/CodeGen/MSP430/lit.local.cfg
test/CodeGen/Mips/lit.local.cfg
test/CodeGen/NVPTX/lit.local.cfg
test/CodeGen/PowerPC/lit.local.cfg
test/CodeGen/R600/lit.local.cfg
test/CodeGen/SI/lit.local.cfg [new file with mode: 0644]
test/CodeGen/SI/sanity.ll
test/CodeGen/SPARC/lit.local.cfg
test/CodeGen/SystemZ/lit.local.cfg
test/CodeGen/Thumb/lit.local.cfg
test/CodeGen/Thumb2/lit.local.cfg
test/CodeGen/X86/GC/lit.local.cfg
test/CodeGen/X86/lit.local.cfg
test/CodeGen/XCore/lit.local.cfg
test/DebugInfo/AArch64/lit.local.cfg
test/DebugInfo/Inputs/lit.local.cfg [deleted file]
test/DebugInfo/PowerPC/lit.local.cfg
test/DebugInfo/SystemZ/lit.local.cfg
test/DebugInfo/X86/lit.local.cfg
test/DebugInfo/lit.local.cfg [deleted file]
test/ExecutionEngine/MCJIT/lit.local.cfg
test/ExecutionEngine/MCJIT/remote/lit.local.cfg
test/ExecutionEngine/RuntimeDyld/lit.local.cfg [deleted file]
test/ExecutionEngine/lit.local.cfg
test/Feature/lit.local.cfg [deleted file]
test/FileCheck/lit.local.cfg [deleted file]
test/Instrumentation/AddressSanitizer/X86/lit.local.cfg
test/Instrumentation/AddressSanitizer/lit.local.cfg [deleted file]
test/Instrumentation/BoundsChecking/lit.local.cfg [deleted file]
test/Instrumentation/DataFlowSanitizer/lit.local.cfg [deleted file]
test/Instrumentation/MemorySanitizer/lit.local.cfg [deleted file]
test/Instrumentation/ThreadSanitizer/lit.local.cfg [deleted file]
test/Integer/lit.local.cfg [deleted file]
test/JitListener/lit.local.cfg
test/Linker/lit.local.cfg [deleted file]
test/MC/AArch64/lit.local.cfg
test/MC/ARM/AlignedBundling/lit.local.cfg
test/MC/ARM/lit.local.cfg
test/MC/AsmParser/lit.local.cfg
test/MC/COFF/lit.local.cfg
test/MC/Disassembler/AArch64/lit.local.cfg
test/MC/Disassembler/ARM/lit.local.cfg
test/MC/Disassembler/Mips/lit.local.cfg
test/MC/Disassembler/SystemZ/lit.local.cfg
test/MC/Disassembler/X86/lit.local.cfg
test/MC/Disassembler/XCore/lit.local.cfg
test/MC/ELF/lit.local.cfg
test/MC/MachO/ARM/lit.local.cfg
test/MC/MachO/lit.local.cfg
test/MC/Mips/lit.local.cfg
test/MC/PowerPC/lit.local.cfg
test/MC/SystemZ/lit.local.cfg
test/MC/X86/AlignedBundling/lit.local.cfg
test/MC/X86/lit.local.cfg
test/Object/Mips/lit.local.cfg
test/Object/X86/lit.local.cfg
test/Other/X86/lit.local.cfg
test/Other/lit.local.cfg [deleted file]
test/Transforms/ADCE/lit.local.cfg [deleted file]
test/Transforms/ArgumentPromotion/lit.local.cfg [deleted file]
test/Transforms/BBVectorize/lit.local.cfg
test/Transforms/BlockPlacement/lit.local.cfg [deleted file]
test/Transforms/CodeExtractor/lit.local.cfg [deleted file]
test/Transforms/CodeGenPrepare/lit.local.cfg [deleted file]
test/Transforms/ConstProp/lit.local.cfg [deleted file]
test/Transforms/ConstantMerge/lit.local.cfg [deleted file]
test/Transforms/CorrelatedValuePropagation/lit.local.cfg [deleted file]
test/Transforms/DeadArgElim/lit.local.cfg [deleted file]
test/Transforms/DeadStoreElimination/lit.local.cfg [deleted file]
test/Transforms/DebugIR/lit.local.cfg [deleted file]
test/Transforms/EarlyCSE/lit.local.cfg [deleted file]
test/Transforms/FunctionAttrs/lit.local.cfg [deleted file]
test/Transforms/GCOVProfiling/lit.local.cfg [deleted file]
test/Transforms/GVN/lit.local.cfg [deleted file]
test/Transforms/GlobalDCE/lit.local.cfg [deleted file]
test/Transforms/GlobalOpt/lit.local.cfg [deleted file]
test/Transforms/IPConstantProp/lit.local.cfg [deleted file]
test/Transforms/IndVarSimplify/lit.local.cfg [deleted file]
test/Transforms/Inline/lit.local.cfg [deleted file]
test/Transforms/InstCombine/lit.local.cfg [deleted file]
test/Transforms/InstSimplify/lit.local.cfg [deleted file]
test/Transforms/Internalize/lit.local.cfg [deleted file]
test/Transforms/JumpThreading/lit.local.cfg [deleted file]
test/Transforms/LCSSA/lit.local.cfg [deleted file]
test/Transforms/LICM/lit.local.cfg [deleted file]
test/Transforms/LoopDeletion/lit.local.cfg [deleted file]
test/Transforms/LoopIdiom/X86/lit.local.cfg
test/Transforms/LoopIdiom/lit.local.cfg [deleted file]
test/Transforms/LoopRotate/lit.local.cfg [deleted file]
test/Transforms/LoopSimplify/lit.local.cfg [deleted file]
test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg
test/Transforms/LoopStrengthReduce/X86/lit.local.cfg
test/Transforms/LoopStrengthReduce/lit.local.cfg [deleted file]
test/Transforms/LoopUnroll/lit.local.cfg [deleted file]
test/Transforms/LoopUnswitch/lit.local.cfg [deleted file]
test/Transforms/LoopVectorize/ARM/lit.local.cfg
test/Transforms/LoopVectorize/X86/lit.local.cfg
test/Transforms/LoopVectorize/lit.local.cfg [deleted file]
test/Transforms/LowerAtomic/lit.local.cfg [deleted file]
test/Transforms/LowerExpectIntrinsic/lit.local.cfg [deleted file]
test/Transforms/LowerInvoke/lit.local.cfg [deleted file]
test/Transforms/LowerSwitch/lit.local.cfg [deleted file]
test/Transforms/Mem2Reg/lit.local.cfg [deleted file]
test/Transforms/MemCpyOpt/lit.local.cfg [deleted file]
test/Transforms/MergeFunc/lit.local.cfg [deleted file]
test/Transforms/MetaRenamer/lit.local.cfg [deleted file]
test/Transforms/ObjCARC/lit.local.cfg [deleted file]
test/Transforms/PhaseOrdering/lit.local.cfg [deleted file]
test/Transforms/PruneEH/lit.local.cfg [deleted file]
test/Transforms/Reassociate/lit.local.cfg [deleted file]
test/Transforms/Reg2Mem/lit.local.cfg [deleted file]
test/Transforms/SCCP/lit.local.cfg [deleted file]
test/Transforms/SLPVectorizer/X86/lit.local.cfg
test/Transforms/SLPVectorizer/lit.local.cfg [deleted file]
test/Transforms/SROA/lit.local.cfg [deleted file]
test/Transforms/ScalarRepl/lit.local.cfg [deleted file]
test/Transforms/SimplifyCFG/SPARC/lit.local.cfg
test/Transforms/SimplifyCFG/X86/lit.local.cfg
test/Transforms/SimplifyCFG/lit.local.cfg [deleted file]
test/Transforms/Sink/lit.local.cfg [deleted file]
test/Transforms/StripSymbols/lit.local.cfg [deleted file]
test/Transforms/StructurizeCFG/lit.local.cfg [deleted file]
test/Transforms/TailCallElim/lit.local.cfg [deleted file]
test/Transforms/TailDup/X86/lit.local.cfg
test/Transforms/TailDup/lit.local.cfg
test/Verifier/lit.local.cfg [deleted file]
test/lit.cfg
test/tools/llvm-lit/lit.local.cfg [deleted file]
test/tools/llvm-objdump/lit.local.cfg
test/tools/llvm-readobj/lit.local.cfg [deleted file]

diff --git a/test/Analysis/BasicAA/lit.local.cfg b/test/Analysis/BasicAA/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Analysis/BlockFrequencyInfo/lit.local.cfg b/test/Analysis/BlockFrequencyInfo/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Analysis/BranchProbabilityInfo/lit.local.cfg b/test/Analysis/BranchProbabilityInfo/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Analysis/CallGraph/lit.local.cfg b/test/Analysis/CallGraph/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index cb77b09ef4adbcf6481e27d0577855a7e17a8c36..8a3ba96497e7dd32f48c04ea49c65c98da885221 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'ARM' in targets:
     config.unsupported = True
index 4019eca0bb88f9d2d741be6e5d5b1aec3965e291..2e463005586fceef2df7b17084f95d29e244c0b1 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'PowerPC' in targets:
     config.unsupported = True
index a8ad0f1a28b23766c81a5a49d05536859b8226bf..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/test/Analysis/CostModel/lit.local.cfg b/test/Analysis/CostModel/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Analysis/DependenceAnalysis/lit.local.cfg b/test/Analysis/DependenceAnalysis/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/test/Analysis/Dominators/lit.local.cfg b/test/Analysis/Dominators/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Analysis/GlobalsModRef/lit.local.cfg b/test/Analysis/GlobalsModRef/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Analysis/LoopInfo/lit.local.cfg b/test/Analysis/LoopInfo/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Analysis/MemoryDependenceAnalysis/lit.local.cfg b/test/Analysis/MemoryDependenceAnalysis/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/test/Analysis/PostDominators/lit.local.cfg b/test/Analysis/PostDominators/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index d40fa4f9d3abdc8af0644f49636d05be452ac60e..5481b13ce03cf250469fbd08951d926863c3dd74 100644 (file)
@@ -1,11 +1,2 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
-
-if 'hexagon' in root.target_triple:
+if 'hexagon' in config.root.target_triple:
     config.unsupported = True
diff --git a/test/Analysis/RegionInfo/lit.local.cfg b/test/Analysis/RegionInfo/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Analysis/ScalarEvolution/lit.local.cfg b/test/Analysis/ScalarEvolution/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/test/Analysis/TypeBasedAliasAnalysis/lit.local.cfg b/test/Analysis/TypeBasedAliasAnalysis/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Assembler/lit.local.cfg b/test/Assembler/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index 640c58d2f3d6e8938be6799bcfa15f5d3daf9777..ac9f3717b3750ecc76a7bce0c8329e0937ae582b 100644 (file)
@@ -1,4 +1,4 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.ml']
+config.suffixes = ['.ml']
 
 bindings = set([s.strip() for s in config.root.llvm_bindings.split(',')])
 if not 'ocaml' in bindings:
diff --git a/test/Bitcode/lit.local.cfg b/test/Bitcode/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/BugPoint/lit.local.cfg b/test/BugPoint/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index c5ce2411ed48c6d655b1ee4021089a67a1c7552c..9a66a00189eacfe2890dcf3443876ea2c35118ca 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'AArch64' in targets:
     config.unsupported = True
index 4d75f581a1d2581f7a3912f1bbac4d59f2f645d1..8a3ba96497e7dd32f48c04ea49c65c98da885221 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'ARM' in targets:
     config.unsupported = True
index 4d4b4a4a7e21c1272e6411cace339a13796b7c64..4063dd1b8612ba600330b080301996bf8f6449dd 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'CppBackend' in targets:
     config.unsupported = True
diff --git a/test/CodeGen/Generic/lit.local.cfg b/test/CodeGen/Generic/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index 24324b2792e386aefa7fc7622592575c97e08138..e96bab818a3c84bb1cf83cb88bfd9e2ba4c1b595 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'Hexagon' in targets:
     config.unsupported = True
index 0ca9fc9c6912c93f4d08e957a1086f870047ae7f..a18fe6f927d8804af6a1004f43b3bfc61f582b32 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'MSP430' in targets:
     config.unsupported = True
index e157c540b53833625b60559a9a771b13d594fcd7..1fa54b428cd97710d4ce5254475e5e5fefc01f61 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'Mips' in targets:
     config.unsupported = True
index 7180c841d6e80bbb0c80fe093feb02b371dae376..85cf8c2c8c0705bbe5a9fa470ba3fccc0e0b5e82 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'NVPTX' in targets:
     config.unsupported = True
index aaa31d93d5f29563375ba937f20577a116b30f37..2e463005586fceef2df7b17084f95d29e244c0b1 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'PowerPC' in targets:
     config.unsupported = True
index 36ee493e59451e1ca2502bf6402f65a4f1c5e89e..2d8930ad0e88cb091229cfc035dae572f5f606ce 100644 (file)
@@ -1,13 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
-
-targets = set(root.targets_to_build.split())
+targets = set(config.root.targets_to_build.split())
 if not 'R600' in targets:
     config.unsupported = True
-
diff --git a/test/CodeGen/SI/lit.local.cfg b/test/CodeGen/SI/lit.local.cfg
new file mode 100644 (file)
index 0000000..2d8930a
--- /dev/null
@@ -0,0 +1,3 @@
+targets = set(config.root.targets_to_build.split())
+if not 'R600' in targets:
+    config.unsupported = True
index 62cdcf5eca283104231cc1aa7c4acc727bc40cbc..80335fb3354be0b90107b1c580ae6f39ce0e0891 100644 (file)
@@ -1,4 +1,5 @@
 ;RUN: llc < %s -march=r600 -mcpu=SI | FileCheck %s
+;XFAIL: *
 
 ; CHECK: S_ENDPGM
 
index 6f30a8797967370cd46a7aa99153dbd90caa90c0..4d344fa91a9ea75d17bcc0e55beecfc9915fe29a 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'Sparc' in targets:
     config.unsupported = True
index 79528d178f2317c3865fa89d538969d973e90603..b12af09434beaac3dfb7a08a7de0a0eec70ccc0c 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'SystemZ' in targets:
     config.unsupported = True
index 4d75f581a1d2581f7a3912f1bbac4d59f2f645d1..8a3ba96497e7dd32f48c04ea49c65c98da885221 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'ARM' in targets:
     config.unsupported = True
index cb77b09ef4adbcf6481e27d0577855a7e17a8c36..8a3ba96497e7dd32f48c04ea49c65c98da885221 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'ARM' in targets:
     config.unsupported = True
index a8ad0f1a28b23766c81a5a49d05536859b8226bf..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index 9d285bf4e238d15d7d06af0160bdb679c461c563..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index 8756f37fe8a186520c1a63aa59ce54f0cc9e76af..3e84c1befeab2dce33687d03f0a98bbc68ca53ed 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'XCore' in targets:
     config.unsupported = True
index c5ce2411ed48c6d655b1ee4021089a67a1c7552c..9a66a00189eacfe2890dcf3443876ea2c35118ca 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'AArch64' in targets:
     config.unsupported = True
diff --git a/test/DebugInfo/Inputs/lit.local.cfg b/test/DebugInfo/Inputs/lit.local.cfg
deleted file mode 100644 (file)
index e6f55ee..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = []
index 112a1c34564a4193c4de260a73aa98c45df05732..193ebebcd50eea3defa84d6a11b071d25a477f33 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'PowerPC' in targets:
     config.unsupported = True
index a70a6854381b8570f9bd261769125eb71c88c0f2..b12af09434beaac3dfb7a08a7de0a0eec70ccc0c 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'SystemZ' in targets:
     config.unsupported = True
index 60d66eae4953ccea985f060642e9023218905d1d..19840aa7574c5cc67795c6acfa928bb33513de0f 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/test/DebugInfo/lit.local.cfg b/test/DebugInfo/lit.local.cfg
deleted file mode 100644 (file)
index 00bd9b8..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.test']
index f21468ffa24108ce1621d0d94c861645862f3805..bad4c8cf39ac8e1ea35ef06f41da3b736587abbc 100644 (file)
@@ -1,12 +1,4 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
-
+root = config.root
 targets = set(root.targets_to_build.split())
 if ('X86' in targets) | ('AArch64' in targets) | ('ARM' in targets) | \
    ('Mips' in targets) | ('PowerPC' in targets) | ('SystemZ' in targets):
index 39b2a950ae344d6f5105074f2ed2166d1a6a8bcf..6b192ae44be7025bce111ba48b410a53736ffb0c 100644 (file)
@@ -1,11 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
-
-if 'armv4' in root.target_triple or 'armv5' in root.target_triple:
+if 'armv4' in config.root.target_triple or \
+        'armv5' in config.root.target_triple:
     config.unsupported = True
diff --git a/test/ExecutionEngine/RuntimeDyld/lit.local.cfg b/test/ExecutionEngine/RuntimeDyld/lit.local.cfg
deleted file mode 100644 (file)
index df9b335..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.test']
index b6945adf015aabcbe5421ea158a64016b568e4e9..215ecaeeda0e60abd8e90e79fdf0dd33d71d99d4 100644 (file)
@@ -1,14 +1,5 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
-
-if root.host_arch in ['PowerPC', 'AArch64', 'SystemZ']:
+if config.root.host_arch in ['PowerPC', 'AArch64', 'SystemZ']:
     config.unsupported = True
 
-if 'hexagon' in root.target_triple:
+if 'hexagon' in config.root.target_triple:
     config.unsupported = True
diff --git a/test/Feature/lit.local.cfg b/test/Feature/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/FileCheck/lit.local.cfg b/test/FileCheck/lit.local.cfg
deleted file mode 100644 (file)
index ee25f56..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.txt']
index b05ed3c77c166e52612e41e07dccba3fbac87e8b..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,13 +1,4 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
-
-targets = set(root.targets_to_build.split())
+targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
 
diff --git a/test/Instrumentation/AddressSanitizer/lit.local.cfg b/test/Instrumentation/AddressSanitizer/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Instrumentation/BoundsChecking/lit.local.cfg b/test/Instrumentation/BoundsChecking/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Instrumentation/DataFlowSanitizer/lit.local.cfg b/test/Instrumentation/DataFlowSanitizer/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Instrumentation/MemorySanitizer/lit.local.cfg b/test/Instrumentation/MemorySanitizer/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Instrumentation/ThreadSanitizer/lit.local.cfg b/test/Instrumentation/ThreadSanitizer/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Integer/lit.local.cfg b/test/Integer/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index a5aa6de182c4a194516f578e8ff524e809be897d..d995820bc3b6b806b269f7ff5e585383339cba87 100644 (file)
@@ -1,11 +1,3 @@
-config.suffixes = ['.ll']
-
-def getRoot(config):
-    if not config.parent:
-        return config
-    return getRoot(config.parent)
-
-root = getRoot(config)
-if not root.llvm_use_intel_jitevents == "ON":
+if not config.root.llvm_use_intel_jitevents == "ON":
     config.unsupported = True
 
diff --git a/test/Linker/lit.local.cfg b/test/Linker/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index cc02173c8ed4e4a139683a09858cff74416ae709..75dba81bc0b591a2e3b1497fdd867b18636e90c7 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'AArch64' in targets:
     config.unsupported = True
\ No newline at end of file
index 6c49f08b7496de4427c088baafd0bb242b8a42ac..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index 57009139616f6e0164bd08f719fb2f156f688112..8a3ba96497e7dd32f48c04ea49c65c98da885221 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'ARM' in targets:
     config.unsupported = True
index 6c49f08b7496de4427c088baafd0bb242b8a42ac..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index 41a8434f99939c4a7ebf9421796d2b1c25f40cab..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.s', '.ll']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index f9df30e4d3df39e830d3cdffb173852ddc1857bb..9a66a00189eacfe2890dcf3443876ea2c35118ca 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.txt']
-
 targets = set(config.root.targets_to_build.split())
 if not 'AArch64' in targets:
     config.unsupported = True
index 22a76e5cab2d072d047e06719f17a76b9db40e74..8a3ba96497e7dd32f48c04ea49c65c98da885221 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.txt']
-
 targets = set(config.root.targets_to_build.split())
 if not 'ARM' in targets:
     config.unsupported = True
index 9b698b2e6c411a92d00fe260a00e73ffada6e075..1fa54b428cd97710d4ce5254475e5e5fefc01f61 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.txt']
-
 targets = set(config.root.targets_to_build.split())
 if not 'Mips' in targets:
     config.unsupported = True
index 1da00eaef3e0c84e08b6cffe74fa1d5e5d2f379b..b12af09434beaac3dfb7a08a7de0a0eec70ccc0c 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.txt']
-
 targets = set(config.root.targets_to_build.split())
 if not 'SystemZ' in targets:
     config.unsupported = True
index 6211b3e538537ac61aedc34d323d608d3f2e3bb3..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.txt']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index 15b65836e717d4b5c27114789e1740fbb90ffff3..4d17d464204559c0d647b9cd3791a9032e66f67d 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.txt']
-
 targets = set(config.root.targets_to_build.split())
 if not 'XCore' in targets:
     config.unsupported = True
index 56bf00859572ea9eb8fd5c92474e897912286063..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index 9f0d39d9217b422cd36c89a65c101318aed0ff43..8a3ba96497e7dd32f48c04ea49c65c98da885221 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.s', '.ll']
-
 targets = set(config.root.targets_to_build.split())
 if not 'ARM' in targets:
     config.unsupported = True
index 41a8434f99939c4a7ebf9421796d2b1c25f40cab..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.s', '.ll']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index d2e3b28dbd863759e5eaabb68310a5bf70b23d91..1fa54b428cd97710d4ce5254475e5e5fefc01f61 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'Mips' in targets:
     config.unsupported = True
index 88488cdd048e35634c9e927140549a92a404e138..193ebebcd50eea3defa84d6a11b071d25a477f33 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'PowerPC' in targets:
     config.unsupported = True
index abb697406d6fb7154fc55e2453c47b3e71ce44e5..b12af09434beaac3dfb7a08a7de0a0eec70ccc0c 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'SystemZ' in targets:
     config.unsupported = True
index 6c49f08b7496de4427c088baafd0bb242b8a42ac..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index ad280c7cf7dec927c610f8dabb6b6aff35fa31e0..19840aa7574c5cc67795c6acfa928bb33513de0f 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index 149931749822b918ed6d0bb66430bc656f2d062c..88262fb1d3232872524bcd00617fad449e6aaf7d 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'Mips' in targets:
     config.unsupported = True
index 6a29e9250f3c6d4deca16b895d11ea5ae4812f06..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.test']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index da2db5a45f9c6f855b64dd9e7362e1681c3fae6b..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/test/Other/lit.local.cfg b/test/Other/lit.local.cfg
deleted file mode 100644 (file)
index 67c7ec7..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp', '.txt', '.test']
diff --git a/test/Transforms/ADCE/lit.local.cfg b/test/Transforms/ADCE/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/ArgumentPromotion/lit.local.cfg b/test/Transforms/ArgumentPromotion/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index a8ad0f1a28b23766c81a5a49d05536859b8226bf..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/test/Transforms/BlockPlacement/lit.local.cfg b/test/Transforms/BlockPlacement/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/CodeExtractor/lit.local.cfg b/test/Transforms/CodeExtractor/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/CodeGenPrepare/lit.local.cfg b/test/Transforms/CodeGenPrepare/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/test/Transforms/ConstProp/lit.local.cfg b/test/Transforms/ConstProp/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/ConstantMerge/lit.local.cfg b/test/Transforms/ConstantMerge/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/CorrelatedValuePropagation/lit.local.cfg b/test/Transforms/CorrelatedValuePropagation/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/test/Transforms/DeadArgElim/lit.local.cfg b/test/Transforms/DeadArgElim/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/DeadStoreElimination/lit.local.cfg b/test/Transforms/DeadStoreElimination/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/DebugIR/lit.local.cfg b/test/Transforms/DebugIR/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/test/Transforms/EarlyCSE/lit.local.cfg b/test/Transforms/EarlyCSE/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/test/Transforms/FunctionAttrs/lit.local.cfg b/test/Transforms/FunctionAttrs/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/GCOVProfiling/lit.local.cfg b/test/Transforms/GCOVProfiling/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/GVN/lit.local.cfg b/test/Transforms/GVN/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/GlobalDCE/lit.local.cfg b/test/Transforms/GlobalDCE/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/GlobalOpt/lit.local.cfg b/test/Transforms/GlobalOpt/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/IPConstantProp/lit.local.cfg b/test/Transforms/IPConstantProp/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/IndVarSimplify/lit.local.cfg b/test/Transforms/IndVarSimplify/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/Inline/lit.local.cfg b/test/Transforms/Inline/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/InstCombine/lit.local.cfg b/test/Transforms/InstCombine/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/InstSimplify/lit.local.cfg b/test/Transforms/InstSimplify/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/Internalize/lit.local.cfg b/test/Transforms/Internalize/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/JumpThreading/lit.local.cfg b/test/Transforms/JumpThreading/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/test/Transforms/LCSSA/lit.local.cfg b/test/Transforms/LCSSA/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/LICM/lit.local.cfg b/test/Transforms/LICM/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/LoopDeletion/lit.local.cfg b/test/Transforms/LoopDeletion/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index a8ad0f1a28b23766c81a5a49d05536859b8226bf..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/test/Transforms/LoopIdiom/lit.local.cfg b/test/Transforms/LoopIdiom/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/LoopRotate/lit.local.cfg b/test/Transforms/LoopRotate/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/LoopSimplify/lit.local.cfg b/test/Transforms/LoopSimplify/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index bac2ffab31d92d836cc058b16e6fbf6bf1e8b407..8a3ba96497e7dd32f48c04ea49c65c98da885221 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll']
-
 targets = set(config.root.targets_to_build.split())
 if not 'ARM' in targets:
     config.unsupported = True
index da2db5a45f9c6f855b64dd9e7362e1681c3fae6b..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/test/Transforms/LoopStrengthReduce/lit.local.cfg b/test/Transforms/LoopStrengthReduce/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/LoopUnroll/lit.local.cfg b/test/Transforms/LoopUnroll/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/LoopUnswitch/lit.local.cfg b/test/Transforms/LoopUnswitch/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index cb77b09ef4adbcf6481e27d0577855a7e17a8c36..8a3ba96497e7dd32f48c04ea49c65c98da885221 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'ARM' in targets:
     config.unsupported = True
index a8ad0f1a28b23766c81a5a49d05536859b8226bf..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/test/Transforms/LoopVectorize/lit.local.cfg b/test/Transforms/LoopVectorize/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/LowerAtomic/lit.local.cfg b/test/Transforms/LowerAtomic/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/LowerExpectIntrinsic/lit.local.cfg b/test/Transforms/LowerExpectIntrinsic/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/test/Transforms/LowerInvoke/lit.local.cfg b/test/Transforms/LowerInvoke/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/LowerSwitch/lit.local.cfg b/test/Transforms/LowerSwitch/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/Mem2Reg/lit.local.cfg b/test/Transforms/Mem2Reg/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/MemCpyOpt/lit.local.cfg b/test/Transforms/MemCpyOpt/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/MergeFunc/lit.local.cfg b/test/Transforms/MergeFunc/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/MetaRenamer/lit.local.cfg b/test/Transforms/MetaRenamer/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/test/Transforms/ObjCARC/lit.local.cfg b/test/Transforms/ObjCARC/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/PhaseOrdering/lit.local.cfg b/test/Transforms/PhaseOrdering/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/PruneEH/lit.local.cfg b/test/Transforms/PruneEH/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/Reassociate/lit.local.cfg b/test/Transforms/Reassociate/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/Reg2Mem/lit.local.cfg b/test/Transforms/Reg2Mem/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/SCCP/lit.local.cfg b/test/Transforms/SCCP/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index a8ad0f1a28b23766c81a5a49d05536859b8226bf..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/test/Transforms/SLPVectorizer/lit.local.cfg b/test/Transforms/SLPVectorizer/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/SROA/lit.local.cfg b/test/Transforms/SROA/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
diff --git a/test/Transforms/ScalarRepl/lit.local.cfg b/test/Transforms/ScalarRepl/lit.local.cfg
deleted file mode 100644 (file)
index c6106e4..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll']
index 786fee9e6610b179bd3600780e9bd160ee3f58ff..4d344fa91a9ea75d17bcc0e55beecfc9915fe29a 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'Sparc' in targets:
     config.unsupported = True
index a8ad0f1a28b23766c81a5a49d05536859b8226bf..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/test/Transforms/SimplifyCFG/lit.local.cfg b/test/Transforms/SimplifyCFG/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/Sink/lit.local.cfg b/test/Transforms/Sink/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/StripSymbols/lit.local.cfg b/test/Transforms/StripSymbols/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/StructurizeCFG/lit.local.cfg b/test/Transforms/StructurizeCFG/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
diff --git a/test/Transforms/TailCallElim/lit.local.cfg b/test/Transforms/TailCallElim/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index da2db5a45f9c6f855b64dd9e7362e1681c3fae6b..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
index 18c604aba5672ea96628c75be8fc74c6e6c5ad46..19840aa7574c5cc67795c6acfa928bb33513de0f 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.c', '.cpp']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/test/Verifier/lit.local.cfg b/test/Verifier/lit.local.cfg
deleted file mode 100644 (file)
index 19eebc0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.ll', '.c', '.cpp']
index abca7f7fa595ed7524820d4a205132bc5224d7a2..cd17be1fdbb767ce1cb577334855099b1b718a03 100644 (file)
@@ -41,12 +41,12 @@ config.test_format = lit.formats.ShTest(execute_external)
 
 # suffixes: A list of file extensions to treat as test files. This is overriden
 # by individual lit.local.cfg files in the test subdirectories.
-config.suffixes = []
+config.suffixes = ['.ll', '.c', '.cpp', '.test', '.txt', '.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']
+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__)
diff --git a/test/tools/llvm-lit/lit.local.cfg b/test/tools/llvm-lit/lit.local.cfg
deleted file mode 100644 (file)
index 856a549..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.c']
index 56bf00859572ea9eb8fd5c92474e897912286063..ba763cf03ffcc4a996faa124289303f10f41eeba 100644 (file)
@@ -1,5 +1,3 @@
-config.suffixes = ['.ll', '.s']
-
 targets = set(config.root.targets_to_build.split())
 if not 'X86' in targets:
     config.unsupported = True
diff --git a/test/tools/llvm-readobj/lit.local.cfg b/test/tools/llvm-readobj/lit.local.cfg
deleted file mode 100644 (file)
index df9b335..0000000
+++ /dev/null
@@ -1 +0,0 @@
-config.suffixes = ['.test']