llvm.org GIT mirror llvm / e524156
Don't depend on grep or sed to be portable at all. Just compare against static test files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18271 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 16 years ago
8 changed file(s) with 6 addition(s) and 36 deletion(s). Raw diff Collapse all Expand all
33 ;RUN: cp %p/GNU.a %t.GNU.a
44 ;RUN: llvm-ranlib %t.GNU.a
55 ;RUN: llvm-ar t %t.GNU.a > %t1
6 ;RUN: grep -v '^;' %s >%t2
7 ;RUN: diff %t2 %t1
8 evenlen
9 oddlen
10 very_long_bytecode_file_name.bc
11 IsNAN.o
6 ;RUN: diff %t1 %p/GNU.toc
33 ;RUN: cp %p/SVR4.a %t.SVR4.a
44 ;RUN: llvm-ranlib %t.SVR4.a
55 ;RUN: llvm-ar t %t.SVR4.a > %t1
6 ;RUN: grep -v '^;' %s >%t2
7 ;RUN: diff %t2 %t1
8 evenlen
9 oddlen
10 very_long_bytecode_file_name.bc
11 IsNAN.o
6 ;RUN: diff %t1 %p/SVR4.toc
33 ;RUN: cp %p/xpg4.a %t.xpg4.a
44 ;RUN: llvm-ranlib %t.xpg4.a
55 ;RUN: llvm-ar t %t.xpg4.a > %t1
6 ;RUN: grep -v '^;' %s >%t2
7 ;RUN: diff %t2 %t1
8 evenlen
9 oddlen
10 very_long_bytecode_file_name.bc
11 IsNAN.o
6 ;RUN: diff %t1 %p/xpg4.toc
11 ;This test just makes sure that llvm-ar can generate a table of contents for
22 ;GNU style archives
33 ;RUN: llvm-ar t %p/GNU.a > %t1
4 ;RUN: grep -v '^;' %s >%t2
5 ;RUN: diff %t2 %t1
6 evenlen
7 oddlen
8 very_long_bytecode_file_name.bc
9 IsNAN.o
4 ;RUN: diff %t1 %p/GNU.toc
Binary diff not shown
11 ;This test just makes sure that llvm-ar can generate a table of contents for
22 ;SVR4 style archives
33 ;RUN: llvm-ar t %p/SVR4.a > %t1
4 ;RUN: grep -v '^;' %s >%t2
5 ;RUN: diff %t2 %t1
6 evenlen
7 oddlen
8 very_long_bytecode_file_name.bc
9 IsNAN.o
4 ;RUN: diff %t1 %p/SVR4.toc
11 ;This test just makes sure that llvm-ar can generate a table of contents for
22 ;xpg4 style archives
33 ;RUN: llvm-ar t %p/xpg4.a > %t1
4 ;RUN: grep -v '^;' %s >%t2
5 ;RUN: diff %t2 %t1
6 evenlen
7 oddlen
8 very_long_bytecode_file_name.bc
9 IsNAN.o
4 ;RUN: diff %t1 %p/xpg4.toc