[llvm] d5143e3 - Remove '<' from test for better yam2obj input consumption

via llvm-commits llvm-commits at lists.llvm.org
Mon Apr 13 14:43:10 PDT 2020


Author: jasonliu
Date: 2020-04-13T21:42:30Z
New Revision: d5143e3f102a91599682fc630205e5c6fec58c76

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

LOG: Remove '<' from test for better yam2obj input consumption

Address post-commit comment:
https://reviews.llvm.org/D77580#inline-713676

yaml2obj does not record the source filename in the output,
 which may make FileCheck tests brittle sometimes.

Added: 
    

Modified: 
    llvm/test/tools/llvm-objdump/MachO/disassemble-relocs-data-x86_64.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-objdump/MachO/disassemble-relocs-data-x86_64.test b/llvm/test/tools/llvm-objdump/MachO/disassemble-relocs-data-x86_64.test
index 47dac855f4d5..4a58886cd056 100644
--- a/llvm/test/tools/llvm-objdump/MachO/disassemble-relocs-data-x86_64.test
+++ b/llvm/test/tools/llvm-objdump/MachO/disassemble-relocs-data-x86_64.test
@@ -1,5 +1,5 @@
 # REQUIRES: x86-registered-target
-# RUN: yaml2obj < %s -o %t.o
+# RUN: yaml2obj %s -o %t.o
 # RUN: llvm-objdump -D -r %t.o | FileCheck %s
 
 ## The yaml file below is generated by the following C code:


        


More information about the llvm-commits mailing list