diff options
| author | Reid Spencer <rspencer@reidspencer.com> | 2004-11-21 21:28:56 +0000 | 
|---|---|---|
| committer | Reid Spencer <rspencer@reidspencer.com> | 2004-11-21 21:28:56 +0000 | 
| commit | d0572b45b11a9bfdeea8b1e3c5fe01c8090d38bc (patch) | |
| tree | c3a9067c080387c94cb346d5eff906e9528eb1bb /llvm | |
| parent | 687b0fa8fb832cdee314e56abcbc695b67bd79de (diff) | |
| download | bcm5719-llvm-d0572b45b11a9bfdeea8b1e3c5fe01c8090d38bc.tar.gz bcm5719-llvm-d0572b45b11a9bfdeea8b1e3c5fe01c8090d38bc.zip | |
* Undo previous commit that breaks the test.
* Correct the test to work when srcdir == objdir.
NOTE: Since multiple tests run from the same source archive and llvm-ranlib
changes the archive, these tests MUST work on a copy of the archive or else
this test corrupts the archive file subsequent tests or subsequent runs of
the test suite.
llvm-svn: 18094
Diffstat (limited to 'llvm')
| -rw-r--r-- | llvm/test/Regression/Archive/ranlib_MacOSX.ll | bin | 392 -> 414 bytes | |||
| -rw-r--r-- | llvm/test/Regression/Archive/ranlib_SVR4.ll | 5 | ||||
| -rw-r--r-- | llvm/test/Regression/Archive/ranlib_xpg4.ll | 5 | 
3 files changed, 6 insertions, 4 deletions
| diff --git a/llvm/test/Regression/Archive/ranlib_MacOSX.ll b/llvm/test/Regression/Archive/ranlib_MacOSX.llBinary files differ index bf42aad380e..c6fa661f192 100644 --- a/llvm/test/Regression/Archive/ranlib_MacOSX.ll +++ b/llvm/test/Regression/Archive/ranlib_MacOSX.ll diff --git a/llvm/test/Regression/Archive/ranlib_SVR4.ll b/llvm/test/Regression/Archive/ranlib_SVR4.ll index 6874662a12f..137bad7fb6a 100644 --- a/llvm/test/Regression/Archive/ranlib_SVR4.ll +++ b/llvm/test/Regression/Archive/ranlib_SVR4.ll @@ -1,8 +1,9 @@  ;This isn't really an assembly file, its just here to run the test.  ;This test just makes sure that llvm-ar can generate a symbol table for  ;SVR4 style archives -;RUN: llvm-ranlib %p/SVR4.a -;RUN: llvm-ar t %p/SVR4.a > %t1 +;RUN: cp %p/SVR4.a SVR4_copy.a +;RUN: llvm-ranlib SVR4_copy.a +;RUN: llvm-ar t SVR4_copy.a > %t1  ;RUN: sed -e '/^;.*/d' %s >%t2  ;RUN: diff %t2 %t1  evenlen diff --git a/llvm/test/Regression/Archive/ranlib_xpg4.ll b/llvm/test/Regression/Archive/ranlib_xpg4.ll index ef363af8048..2d133e46eab 100644 --- a/llvm/test/Regression/Archive/ranlib_xpg4.ll +++ b/llvm/test/Regression/Archive/ranlib_xpg4.ll @@ -1,8 +1,9 @@  ;This isn't really an assembly file, its just here to run the test.  ;This test just makes sure that llvm-ar can generate a symbol table for  ;xpg4 style archives -;RUN: llvm-ranlib %p/xpg4.a -;RUN: llvm-ar t %p/xpg4.a > %t1 +;RUN: cp %p/xpg4.a xpg4_copy.a +;RUN: llvm-ranlib xpg4_copy.a +;RUN: llvm-ar t xpg4_copy.a > %t1  ;RUN: sed -e '/^;.*/d' %s >%t2  ;RUN: diff %t2 %t1  evenlen | 

