llvm.org GIT mirror llvm / 80fd9b4
Make sure output goes in the temporary/output directory. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18096 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 16 years ago
4 changed file(s) with 9 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
0 ;This isn't really an assembly file, its just here to run the test.
11 ;This test just makes sure that llvm-ar can generate a symbol table for
22 ;GNU style archives
3 ;RUN: cp %p/GNU.a GNU_copy.a
4 ;RUN: llvm-ranlib GNU_copy.a
5 ;RUN: llvm-ar t GNU_copy.a > %t1
3 ;RUN: cp %p/GNU.a %t.GNU.a
4 ;RUN: llvm-ranlib %t.GNU.a
5 ;RUN: llvm-ar t %t.GNU.a > %t1
66 ;RUN: sed -e '/^;.*/d' %s >%t2
77 ;RUN: diff %t2 %t1
88 evenlen
0 ;This isn't really an assembly file, its just here to run the test.
11 ;This test just makes sure that llvm-ar can generate a symbol table for
22 ;SVR4 style archives
3 ;RUN: cp %p/SVR4.a SVR4_copy.a
4 ;RUN: llvm-ranlib SVR4_copy.a
5 ;RUN: llvm-ar t SVR4_copy.a > %t1
3 ;RUN: cp %p/SVR4.a %t.SVR4.a
4 ;RUN: llvm-ranlib %t.SVR4.a
5 ;RUN: llvm-ar t %t.SVR4.a > %t1
66 ;RUN: sed -e '/^;.*/d' %s >%t2
77 ;RUN: diff %t2 %t1
88 evenlen
0 ;This isn't really an assembly file, its just here to run the test.
11 ;This test just makes sure that llvm-ar can generate a symbol table for
22 ;xpg4 style archives
3 ;RUN: cp %p/xpg4.a xpg4_copy.a
4 ;RUN: llvm-ranlib xpg4_copy.a
5 ;RUN: llvm-ar t xpg4_copy.a > %t1
3 ;RUN: cp %p/xpg4.a %t.xpg4.a
4 ;RUN: llvm-ranlib %t.xpg4.a
5 ;RUN: llvm-ar t %t.xpg4.a > %t1
66 ;RUN: sed -e '/^;.*/d' %s >%t2
77 ;RUN: diff %t2 %t1
88 evenlen