From 46f1d9fb5df3d3cdcfb2f1611646129bbdd1790e Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Sun, 8 Jun 2014 01:04:05 +0000 Subject: [PATCH] test: move some tests into ARM directory Rather than requiring ARM support for the ELF tests (which is odd), move the tests that require ARM into a subdirectory to use lit to disable them if the support is not present. Play this game to prevent disabling the ELF tests on the Windows build bots as they have caught issues in the past with interactions between various platforms. llvm-svn: 210408 --- llvm/test/MC/ELF/{ => ARM}/gnu-type-hash-diagnostics.s | 0 llvm/test/MC/ELF/{ => ARM}/gnu-type-hash.s | 0 llvm/test/MC/ELF/ARM/lit.local.cfg | 4 ++++ 3 files changed, 4 insertions(+) rename llvm/test/MC/ELF/{ => ARM}/gnu-type-hash-diagnostics.s (100%) rename llvm/test/MC/ELF/{ => ARM}/gnu-type-hash.s (100%) create mode 100644 llvm/test/MC/ELF/ARM/lit.local.cfg diff --git a/llvm/test/MC/ELF/gnu-type-hash-diagnostics.s b/llvm/test/MC/ELF/ARM/gnu-type-hash-diagnostics.s similarity index 100% rename from llvm/test/MC/ELF/gnu-type-hash-diagnostics.s rename to llvm/test/MC/ELF/ARM/gnu-type-hash-diagnostics.s diff --git a/llvm/test/MC/ELF/gnu-type-hash.s b/llvm/test/MC/ELF/ARM/gnu-type-hash.s similarity index 100% rename from llvm/test/MC/ELF/gnu-type-hash.s rename to llvm/test/MC/ELF/ARM/gnu-type-hash.s diff --git a/llvm/test/MC/ELF/ARM/lit.local.cfg b/llvm/test/MC/ELF/ARM/lit.local.cfg new file mode 100644 index 0000000..ba8a4fb --- /dev/null +++ b/llvm/test/MC/ELF/ARM/lit.local.cfg @@ -0,0 +1,4 @@ +targets = set(config.root.targets_to_build.split()) +if not 'ARM' in targets: + config.unsupported = True + -- 2.7.4