[lit] Add argument check: --timeout must be non-negative integer
[llvm-core.git] / test / tools / llvm-lipo / archs-universal-binary-x86.test
blobe3b7af29a940087e1b0532a4f96016d0a840e229
1 # RUN: yaml2obj %s > %t
2 # RUN: llvm-lipo %t -archs | FileCheck %s
3 # CHECK: i386 x86_64
5 --- !fat-mach-o
6 FatHeader:
7   magic:           0xCAFEBABE
8   nfat_arch:       2
9 FatArchs:
10   - cputype:         0x00000007
11     cpusubtype:      0x00000003
12     offset:          0x0000000000001000
13     size:            28
14     align:           12
15   - cputype:         0x01000007
16     cpusubtype:      0x00000003
17     offset:          0x0000000000002000
18     size:            32
19     align:           12
20 Slices:
21   - !mach-o
22     FileHeader:
23       magic:           0xFEEDFACE
24       cputype:         0x00000007
25       cpusubtype:      0x00000003
26       filetype:        0x00000001
27       ncmds:           0
28       sizeofcmds:      0
29       flags:           0x00002000
30   - !mach-o
31     FileHeader:
32       magic:           0xFEEDFACF
33       cputype:         0x01000007
34       cpusubtype:      0x00000003
35       filetype:        0x00000001
36       ncmds:           0
37       sizeofcmds:      0
38       flags:           0x00002000
39       reserved:        0x00000000
40 ...