]> granicus.if.org Git - llvm/commitdiff
test: move some tests into ARM directory
authorSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 8 Jun 2014 01:04:05 +0000 (01:04 +0000)
committerSaleem Abdulrasool <compnerd@compnerd.org>
Sun, 8 Jun 2014 01:04:05 +0000 (01:04 +0000)
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.

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

test/MC/ELF/ARM/gnu-type-hash-diagnostics.s [moved from test/MC/ELF/gnu-type-hash-diagnostics.s with 100% similarity]
test/MC/ELF/ARM/gnu-type-hash.s [moved from test/MC/ELF/gnu-type-hash.s with 100% similarity]
test/MC/ELF/ARM/lit.local.cfg [new file with mode: 0644]

diff --git a/test/MC/ELF/ARM/lit.local.cfg b/test/MC/ELF/ARM/lit.local.cfg
new file mode 100644 (file)
index 0000000..ba8a4fb
--- /dev/null
@@ -0,0 +1,4 @@
+targets = set(config.root.targets_to_build.split())
+if not 'ARM' in targets:
+  config.unsupported = True
+