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 | |
parent | dc647db39c70df1baaecda4ed0533b485cfb748e (diff) | |
download | external_llvm-e524156f5eff56669b2d8260dee0bb8cfff65f2f.zip external_llvm-e524156f5eff56669b2d8260dee0bb8cfff65f2f.tar.gz external_llvm-e524156f5eff56669b2d8260dee0bb8cfff65f2f.tar.bz2 |
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
-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 289303a..0052280 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 50fe5cd..a22b419 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 e1cd79b..d5f4b5a 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 f36c93c..f859cac 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 3aeded2..136f603 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 331816b..fb03223 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 9f8bdba..930a26f 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 f2984e2..441af03 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 |