[llvm] bb3e8e9 - [test] after REQUIRES after D154665

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Wed Jul 12 08:46:09 PDT 2023


Author: Fangrui Song
Date: 2023-07-12T08:46:05-07:00
New Revision: bb3e8e90f1687a849326e1a37d587a55213cd599

URL: https://github.com/llvm/llvm-project/commit/bb3e8e90f1687a849326e1a37d587a55213cd599
DIFF: https://github.com/llvm/llvm-project/commit/bb3e8e90f1687a849326e1a37d587a55213cd599.diff

LOG: [test] after REQUIRES after D154665

Disassembling needs LLVM_TARGETS_TO_BUILD.

Added: 
    

Modified: 
    llvm/test/tools/llvm-objdump/ELF/section-symbols.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-objdump/ELF/section-symbols.test b/llvm/test/tools/llvm-objdump/ELF/section-symbols.test
index ce7ea01a53aaaa..ff16db79e47544 100644
--- a/llvm/test/tools/llvm-objdump/ELF/section-symbols.test
+++ b/llvm/test/tools/llvm-objdump/ELF/section-symbols.test
@@ -20,8 +20,8 @@
 # CHECK-NEXT: 00000004 R_X86_64_NONE            {{$}}
 
 ## Test that we consume an error in ELFObjectFile<ELFT>::getSectionName when disassembling. 
-# RUN: llvm-objdump -d --syms %t1 2>&1 | \
-# RUN:   FileCheck %s -DFILE=%t1 --check-prefix=CHECK-DISAS
+# RUN: %if x86-registered-target %{ llvm-objdump -d --syms %t1 2>&1 | \
+# RUN:   FileCheck %s -DFILE=%t1 --check-prefix=CHECK-DISAS %}
 # CHECK-DISAS: warning: '[[FILE]]': invalid section index: 67
 
 --- !ELF


        


More information about the llvm-commits mailing list