diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-27 06:44:10 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-27 06:44:10 +0000 |
commit | e524156f5eff56669b2d8260dee0bb8cfff65f2f (patch) | |
tree | 5ef057c59046053e1b0c2dd397829e8bc4f61b7d /test/Archive | |
parent | dc647db39c70df1baaecda4ed0533b485cfb748e (diff) |
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
Diffstat (limited to 'test/Archive')
-rw-r--r-- | test/Archive/ranlib_GNU.ll | 7 | ||||
-rw-r--r-- | test/Archive/ranlib_MacOSX.ll | bin | 404 -> 290 bytes | |||
-rw-r--r-- | test/Archive/ranlib_SVR4.ll | 7 | ||||
-rw-r--r-- | test/Archive/ranlib_xpg4.ll | 7 | ||||
-rw-r--r-- | test/Archive/toc_GNU.ll | 7 | ||||
-rw-r--r-- | test/Archive/toc_MacOSX.ll | bin | 345 -> 231 bytes | |||
-rw-r--r-- | test/Archive/toc_SVR4.ll | 7 | ||||
-rw-r--r-- | test/Archive/toc_xpg4.ll | 7 |
8 files changed, 6 insertions, 36 deletions
diff --git a/test/Archive/ranlib_GNU.ll b/test/Archive/ranlib_GNU.ll index 289303a585..00522801f5 100644 --- a/test/Archive/ranlib_GNU.ll +++ b/test/Archive/ranlib_GNU.ll @@ -4,9 +4,4 @@ ;RUN: cp %p/GNU.a %t.GNU.a ;RUN: llvm-ranlib %t.GNU.a ;RUN: llvm-ar t %t.GNU.a > %t1 -;RUN: grep -v '^;' %s >%t2 -;RUN: diff %t2 %t1 -evenlen -oddlen -very_long_bytecode_file_name.bc -IsNAN.o +;RUN: diff %t1 %p/GNU.toc diff --git a/test/Archive/ranlib_MacOSX.ll b/test/Archive/ranlib_MacOSX.ll Binary files differindex 50fe5cd38a..a22b419391 100644 --- a/test/Archive/ranlib_MacOSX.ll +++ b/test/Archive/ranlib_MacOSX.ll diff --git a/test/Archive/ranlib_SVR4.ll b/test/Archive/ranlib_SVR4.ll index e1cd79b8dd..d5f4b5ae58 100644 --- a/test/Archive/ranlib_SVR4.ll +++ b/test/Archive/ranlib_SVR4.ll @@ -4,9 +4,4 @@ ;RUN: cp %p/SVR4.a %t.SVR4.a ;RUN: llvm-ranlib %t.SVR4.a ;RUN: llvm-ar t %t.SVR4.a > %t1 -;RUN: grep -v '^;' %s >%t2 -;RUN: diff %t2 %t1 -evenlen -oddlen -very_long_bytecode_file_name.bc -IsNAN.o +;RUN: diff %t1 %p/SVR4.toc diff --git a/test/Archive/ranlib_xpg4.ll b/test/Archive/ranlib_xpg4.ll index f36c93c6c9..f859cacb04 100644 --- a/test/Archive/ranlib_xpg4.ll +++ b/test/Archive/ranlib_xpg4.ll @@ -4,9 +4,4 @@ ;RUN: cp %p/xpg4.a %t.xpg4.a ;RUN: llvm-ranlib %t.xpg4.a ;RUN: llvm-ar t %t.xpg4.a > %t1 -;RUN: grep -v '^;' %s >%t2 -;RUN: diff %t2 %t1 -evenlen -oddlen -very_long_bytecode_file_name.bc -IsNAN.o +;RUN: diff %t1 %p/xpg4.toc diff --git a/test/Archive/toc_GNU.ll b/test/Archive/toc_GNU.ll index 3aeded259a..136f603a83 100644 --- a/test/Archive/toc_GNU.ll +++ b/test/Archive/toc_GNU.ll @@ -2,9 +2,4 @@ ;This test just makes sure that llvm-ar can generate a table of contents for ;GNU style archives ;RUN: llvm-ar t %p/GNU.a > %t1 -;RUN: grep -v '^;' %s >%t2 -;RUN: diff %t2 %t1 -evenlen -oddlen -very_long_bytecode_file_name.bc -IsNAN.o +;RUN: diff %t1 %p/GNU.toc diff --git a/test/Archive/toc_MacOSX.ll b/test/Archive/toc_MacOSX.ll Binary files differindex 331816bddb..fb03223240 100644 --- a/test/Archive/toc_MacOSX.ll +++ b/test/Archive/toc_MacOSX.ll diff --git a/test/Archive/toc_SVR4.ll b/test/Archive/toc_SVR4.ll index 9f8bdba207..930a26fd35 100644 --- a/test/Archive/toc_SVR4.ll +++ b/test/Archive/toc_SVR4.ll @@ -2,9 +2,4 @@ ;This test just makes sure that llvm-ar can generate a table of contents for ;SVR4 style archives ;RUN: llvm-ar t %p/SVR4.a > %t1 -;RUN: grep -v '^;' %s >%t2 -;RUN: diff %t2 %t1 -evenlen -oddlen -very_long_bytecode_file_name.bc -IsNAN.o +;RUN: diff %t1 %p/SVR4.toc diff --git a/test/Archive/toc_xpg4.ll b/test/Archive/toc_xpg4.ll index f2984e27d7..441af036f3 100644 --- a/test/Archive/toc_xpg4.ll +++ b/test/Archive/toc_xpg4.ll @@ -2,9 +2,4 @@ ;This test just makes sure that llvm-ar can generate a table of contents for ;xpg4 style archives ;RUN: llvm-ar t %p/xpg4.a > %t1 -;RUN: grep -v '^;' %s >%t2 -;RUN: diff %t2 %t1 -evenlen -oddlen -very_long_bytecode_file_name.bc -IsNAN.o +;RUN: diff %t1 %p/xpg4.toc |