From 9efbedfd352e2cff67c5b9e10c5e22c392008ce5 Mon Sep 17 00:00:00 2001 From: Daniel Dunbar Date: Fri, 16 Aug 2013 00:37:11 +0000 Subject: [tests] Cleanup initialization of test suffixes. - 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. llvm-svn: 188513 --- llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg | 2 -- llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg | 2 -- llvm/test/Transforms/LoopStrengthReduce/lit.local.cfg | 1 - 3 files changed, 5 deletions(-) delete mode 100644 llvm/test/Transforms/LoopStrengthReduce/lit.local.cfg (limited to 'llvm/test/Transforms/LoopStrengthReduce') diff --git a/llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg index bac2ffab31d..8a3ba96497e 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg +++ b/llvm/test/Transforms/LoopStrengthReduce/ARM/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.ll'] - targets = set(config.root.targets_to_build.split()) if not 'ARM' in targets: config.unsupported = True diff --git a/llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg index da2db5a45f9..ba763cf03ff 100644 --- a/llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg +++ b/llvm/test/Transforms/LoopStrengthReduce/X86/lit.local.cfg @@ -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/llvm/test/Transforms/LoopStrengthReduce/lit.local.cfg b/llvm/test/Transforms/LoopStrengthReduce/lit.local.cfg deleted file mode 100644 index 19eebc0ac7a..00000000000 --- a/llvm/test/Transforms/LoopStrengthReduce/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.ll', '.c', '.cpp'] -- cgit v1.2.3