diff options
author | Daniel Dunbar <daniel@zuster.org> | 2013-08-16 00:37:11 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2013-08-16 00:37:11 +0000 |
commit | 24ec2e5a72d7fca58f8ae2b3c01501a9927ef04e (patch) | |
tree | a6dc925b56c3886f97483599009ecee88fc1fb3e /test/Analysis/CostModel | |
parent | 4658ce9c1f023ca8198add9eabc9ec466d23c8cb (diff) | |
download | external_llvm-24ec2e5a72d7fca58f8ae2b3c01501a9927ef04e.zip external_llvm-24ec2e5a72d7fca58f8ae2b3c01501a9927ef04e.tar.gz external_llvm-24ec2e5a72d7fca58f8ae2b3c01501a9927ef04e.tar.bz2 |
[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.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@188513 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Analysis/CostModel')
-rw-r--r-- | test/Analysis/CostModel/ARM/lit.local.cfg | 2 | ||||
-rw-r--r-- | test/Analysis/CostModel/PowerPC/lit.local.cfg | 2 | ||||
-rw-r--r-- | test/Analysis/CostModel/X86/lit.local.cfg | 2 | ||||
-rw-r--r-- | test/Analysis/CostModel/lit.local.cfg | 1 |
4 files changed, 0 insertions, 7 deletions
diff --git a/test/Analysis/CostModel/ARM/lit.local.cfg b/test/Analysis/CostModel/ARM/lit.local.cfg index cb77b09..8a3ba96 100644 --- a/test/Analysis/CostModel/ARM/lit.local.cfg +++ b/test/Analysis/CostModel/ARM/lit.local.cfg @@ -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 diff --git a/test/Analysis/CostModel/PowerPC/lit.local.cfg b/test/Analysis/CostModel/PowerPC/lit.local.cfg index 4019eca..2e46300 100644 --- a/test/Analysis/CostModel/PowerPC/lit.local.cfg +++ b/test/Analysis/CostModel/PowerPC/lit.local.cfg @@ -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 diff --git a/test/Analysis/CostModel/X86/lit.local.cfg b/test/Analysis/CostModel/X86/lit.local.cfg index a8ad0f1..ba763cf 100644 --- a/test/Analysis/CostModel/X86/lit.local.cfg +++ b/test/Analysis/CostModel/X86/lit.local.cfg @@ -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 index 19eebc0..0000000 --- a/test/Analysis/CostModel/lit.local.cfg +++ /dev/null @@ -1 +0,0 @@ -config.suffixes = ['.ll', '.c', '.cpp'] |