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 | 9efbedfd352e2cff67c5b9e10c5e22c392008ce5 (patch) | |
| tree | b250e5ef6e12ed0ac67384f6b36e25c8662d2bfe /llvm/test/Object | |
| parent | 20e3b9ac30f26fe3135434e3556c1a462e50e113 (diff) | |
| download | bcm5719-llvm-9efbedfd352e2cff67c5b9e10c5e22c392008ce5.tar.gz bcm5719-llvm-9efbedfd352e2cff67c5b9e10c5e22c392008ce5.zip | |
[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
Diffstat (limited to 'llvm/test/Object')
| -rw-r--r-- | llvm/test/Object/Mips/lit.local.cfg | 2 | ||||
| -rw-r--r-- | llvm/test/Object/X86/lit.local.cfg | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/llvm/test/Object/Mips/lit.local.cfg b/llvm/test/Object/Mips/lit.local.cfg index 14993174982..88262fb1d32 100644 --- a/llvm/test/Object/Mips/lit.local.cfg +++ b/llvm/test/Object/Mips/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.test'] - targets = set(config.root.targets_to_build.split()) if not 'Mips' in targets: config.unsupported = True diff --git a/llvm/test/Object/X86/lit.local.cfg b/llvm/test/Object/X86/lit.local.cfg index 6a29e9250f3..ba763cf03ff 100644 --- a/llvm/test/Object/X86/lit.local.cfg +++ b/llvm/test/Object/X86/lit.local.cfg @@ -1,5 +1,3 @@ -config.suffixes = ['.test'] - targets = set(config.root.targets_to_build.split()) if not 'X86' in targets: config.unsupported = True |

