[ThinLTO] fix test failure without x86 backend
authorHiroshi Inoue <inouehrs@jp.ibm.com>
Tue, 6 Feb 2018 07:03:09 +0000 (07:03 +0000)
committerHiroshi Inoue <inouehrs@jp.ibm.com>
Tue, 6 Feb 2018 07:03:09 +0000 (07:03 +0000)
This patch moves ThinLTOBitcodeWriter/module-asm.ll test case into x86 directory to avoid a test failure when x86 backend is not enabled.

llvm-svn: 324316

llvm/test/Transforms/ThinLTOBitcodeWriter/x86/lit.local.cfg [new file with mode: 0644]
llvm/test/Transforms/ThinLTOBitcodeWriter/x86/module-asm.ll [moved from llvm/test/Transforms/ThinLTOBitcodeWriter/module-asm.ll with 100% similarity]

diff --git a/llvm/test/Transforms/ThinLTOBitcodeWriter/x86/lit.local.cfg b/llvm/test/Transforms/ThinLTOBitcodeWriter/x86/lit.local.cfg
new file mode 100644 (file)
index 0000000..8c2d62d
--- /dev/null
@@ -0,0 +1,3 @@
+if not 'X86' in config.root.targets:
+       config.unsupported = True
+