[yaml2obj][ELF] Don't do disassembly in this test.

This was causing buildbot failures when build without X86 support.

Is there a way to conditionalize the test on the X86 target being
present?

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184597 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sean Silva 2013-06-21 21:51:15 +00:00
parent 5b3d711240
commit a622a3f450

View File

@ -1,5 +1,4 @@
# RUN: yaml2obj -format=elf %s | llvm-readobj -symbols - | FileCheck %s # RUN: yaml2obj -format=elf %s | llvm-readobj -symbols - | FileCheck %s
# RUN: yaml2obj -format=elf %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s --check-prefix=DISASSEMBLY
!ELF !ELF
FileHeader: FileHeader:
Class: ELFCLASS64 Class: ELFCLASS64
@ -42,6 +41,8 @@ Sections:
# CHECK: Name: undefined_symbol # CHECK: Name: undefined_symbol
# CHECK: Section: (0x0) # CHECK: Section: (0x0)
# How to conditionalize on X86 being present?
# yaml2obj -format=elf %s | llvm-objdump -d -no-show-raw-insn - | FileCheck %s --check-prefix=DISASSEMBLY
# DISASSEMBLY: Disassembly of section .text: # DISASSEMBLY: Disassembly of section .text:
# DISASSEMBLY-NEXT: main: # DISASSEMBLY-NEXT: main:
# DISASSEMBLY-NEXT: 1: jmp -2 # DISASSEMBLY-NEXT: 1: jmp -2