llvm-project/llvm/test/tools/llvm-lipo/archs-macho-binary-unknown.test
Fangrui Song 55c81d4282 [test] Use yaml2obj -o %t instead of > %t
To improve consistency and avoid unneeded shell feature (output
redirection).

While here, make other changes to improve consistency

--docnum 1 => --docnum=1
-docnum=x => --docnum=x
2020-01-21 17:20:18 -08:00

16 lines
392 B
Plaintext

# RUN: yaml2obj %s -o %t
# Tests that the output for an unknown architecture is the same as cctools lipo
# RUN: llvm-lipo %t -archs | FileCheck %s
# CHECK: unknown(151,3)
--- !mach-o
FileHeader:
magic: 0xFEEDFACE
cputype: 0x00000097
cpusubtype: 0x00000003
filetype: 0x00000001
ncmds: 0
sizeofcmds: 0
flags: 0x00002000
...