Mark llvm/test/Object/extract.ll as XFAIL:mingw32, for now.
[oota-llvm.git] / test / Object / extract.ll
1 ; This isn't really an assembly file, its just here to run the test.
2
3 ; This test just makes sure that llvm-ar can extract bytecode members
4 ; from various style archives.
5
6 ; FIXME: Investigate Win32's TimeValue stuff!
7 ; XFAIL: mingw32
8
9 ; REQUIRES: shell
10
11 ; RUN: cd %T
12
13 ; RUN: rm -f very_long_bytecode_file_name.bc
14 ; RUN: llvm-ar p %p/Inputs/GNU.a very_long_bytecode_file_name.bc | \
15 ; RUN:   cmp -s %p/Inputs/very_long_bytecode_file_name.bc -
16 ; RUN: llvm-ar x %p/Inputs/GNU.a very_long_bytecode_file_name.bc
17 ; RUN: cmp -s %p/Inputs/very_long_bytecode_file_name.bc \
18 ; RUN:        very_long_bytecode_file_name.bc
19
20 ; RUN: rm -f very_long_bytecode_file_name.bc
21 ; RUN: llvm-ar p %p/Inputs/MacOSX.a very_long_bytecode_file_name.bc | \
22 ; RUN:   cmp -s %p/Inputs/very_long_bytecode_file_name.bc -
23 ; RUN: llvm-ar x %p/Inputs/MacOSX.a very_long_bytecode_file_name.bc
24 ; RUN: cmp -s %p/Inputs/very_long_bytecode_file_name.bc \
25 ; RUN:        very_long_bytecode_file_name.bc
26
27 ; RUN: rm -f very_long_bytecode_file_name.bc
28 ; RUN: llvm-ar p %p/Inputs/SVR4.a very_long_bytecode_file_name.bc | \
29 ; RUN:   cmp -s %p/Inputs/very_long_bytecode_file_name.bc -
30 ; RUN: llvm-ar x %p/Inputs/SVR4.a very_long_bytecode_file_name.bc
31 ; RUN: cmp -s %p/Inputs/very_long_bytecode_file_name.bc \
32 ; RUN:        very_long_bytecode_file_name.bc
33
34 ; RUN: rm -f very_long_bytecode_file_name.bc
35 ; RUN: llvm-ar p %p/Inputs/xpg4.a very_long_bytecode_file_name.bc |\
36 ; RUN:   cmp -s %p/Inputs/very_long_bytecode_file_name.bc -
37 ; RUN: llvm-ar x %p/Inputs/xpg4.a very_long_bytecode_file_name.bc
38 ; RUN: cmp -s %p/Inputs/very_long_bytecode_file_name.bc \
39 ; RUN:        very_long_bytecode_file_name.bc
40
41
42 ; Test that the 'o' option is working by extracting a file, putting it in o
43 ; new archive and checking that date.
44 ; RUN: rm -f very_long_bytecode_file_name.bc
45 ; RUN: llvm-ar xo %p/Inputs/GNU.a very_long_bytecode_file_name.bc
46 ; RUN: llvm-ar rc %t.a very_long_bytecode_file_name.bc
47 ; RUN: env TZ=GMT llvm-ar tv %t.a | FileCheck %s
48
49 CHECK: 1465 Nov 19 03:01 2004 very_long_bytecode_file_name.bc