From a622a3f4508e4af62e57a318514f17f03a4fe464 Mon Sep 17 00:00:00 2001 From: Sean Silva Date: Fri, 21 Jun 2013 21:51:15 +0000 Subject: [PATCH] [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 --- test/Object/yaml2obj-elf-symbol-basic.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/Object/yaml2obj-elf-symbol-basic.yaml b/test/Object/yaml2obj-elf-symbol-basic.yaml index f19db424509..30aa96c203e 100644 --- a/test/Object/yaml2obj-elf-symbol-basic.yaml +++ b/test/Object/yaml2obj-elf-symbol-basic.yaml @@ -1,5 +1,4 @@ # 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 FileHeader: Class: ELFCLASS64 @@ -42,6 +41,8 @@ Sections: # CHECK: Name: undefined_symbol # 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-NEXT: main: # DISASSEMBLY-NEXT: 1: jmp -2