llvm.org GIT mirror llvm / 26c7d8b
Updated these tests so that they use the new temporary directory as opposed to the old Output directory for temporary files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8728 91177308-0d34-0410-b5e6-96231b3b80d8 John Criswell 16 years ago
7 changed file(s) with 21 addition(s) and 21 deletion(s). Raw diff Collapse all Expand all
0
1 ; RUN: llvm-as < %s > Output/%s.out1.bc
2 ; RUN: echo "%S = type { int, int* }" | llvm-as > Output/%s.out2.bc
3 ; RUN: llvm-link Output/%s.out[12].bc
1 ; RUN: llvm-as < %s > %t.out1.bc
2 ; RUN: echo "%S = type { int, int* }" | llvm-as > %t.out2.bc
3 ; RUN: llvm-link %t.out[12].bc
44
55 %T = type opaque
66 %S = type { int, %T* }
None ; RUN: llvm-as < %s > Output/%s.out1.bc
1 ; RUN: echo "%S = external global { int, opaque* } declare void %F(opaque*)" | llvm-as > Output/%s.out2.bc
2 ; RUN: llvm-link Output/%s.out[12].bc | llvm-dis | not grep opaque
0 ; RUN: llvm-as < %s > %t.out1.bc
1 ; RUN: echo "%S = external global { int, opaque* } declare void %F(opaque*)" | llvm-as > %t.out2.bc
2 ; RUN: llvm-link %t.out[12].bc | llvm-dis | not grep opaque
33
44 ; After linking this testcase, there should be no opaque types left. The two
55 ; S's should cause the opaque type to be resolved to 'int'.
0 ; It's a bad idea to go recursively traipsing through types without a safety
11 ; net.
22
3 ; RUN: llvm-as < %s > Output/%s.out1.bc
4 ; RUN: echo "%S = type { %S*, int* }" | llvm-as > Output/%s.out2.bc
5 ; RUN: llvm-link Output/%s.out[12].bc
3 ; RUN: llvm-as < %s > %t.out1.bc
4 ; RUN: echo "%S = type { %S*, int* }" | llvm-as > %t.out2.bc
5 ; RUN: llvm-link %t.out[12].bc
66
77 %S = type { %S*, opaque* }
0 ; Linking these a module with a specified pointer size to one without a
11 ; specified pointer size should not cause a warning!
22
3 ; RUN: llvm-as < %s > Output/%s.out1.bc
4 ; RUN: echo "" | llvm-as > Output/%s.out2.bc
5 ; RUN: llvm-link Output/%s.out[12].bc 2>&1 | not grep WARNING
3 ; RUN: llvm-as < %s > %t.out1.bc
4 ; RUN: echo "" | llvm-as > %t.out2.bc
5 ; RUN: llvm-link %t.out[12].bc 2>&1 | not grep WARNING
66
77 target pointersize = 64
88
None ; RUN: llvm-as < %s > Output/%s.out1.bc
1 ; RUN: echo "%S = type int" | llvm-as > Output/%s.out2.bc
2 ; RUN: llvm-link Output/%s.out[21].bc
0 ; RUN: llvm-as < %s > %t.out1.bc
1 ; RUN: echo "%S = type int" | llvm-as > %t.out2.bc
2 ; RUN: llvm-link %t.out[21].bc
33
44 %S = type opaque
55
None ; RUN: llvm-as < %s > Output/%s.out1.bc
1 ; RUN: echo "%S = type int" | llvm-as > Output/%s.out2.bc
2 ; RUN: llvm-link Output/%s.out[21].bc
0 ; RUN: llvm-as < %s > %t.out1.bc
1 ; RUN: echo "%S = type int" | llvm-as > %t.out2.bc
2 ; RUN: llvm-link %t.out[21].bc
33
44 %S = type opaque
55
None ; RUN: llvm-as < %s > Output/%s.out1.bc
1 ; RUN: echo "%S = type int" | llvm-as > Output/%s.out2.bc
2 ; RUN: llvm-link Output/%s.out[21].bc
0 ; RUN: llvm-as < %s > %t.out1.bc
1 ; RUN: echo "%S = type int" | llvm-as > %t.out2.bc
2 ; RUN: llvm-link %t.out[21].bc
33
44 %S = type opaque
55