forked from OSchip/llvm-project
* 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: 18093
This commit is contained in:
parent
3f4f1e3511
commit
687b0fa8fb
|
@ -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
|
||||
;GNU style archives
|
||||
;RUN: llvm-ranlib %p/GNU.a
|
||||
;RUN: llvm-ar t %p/GNU.a > %t1
|
||||
;RUN: cp %p/GNU.a GNU_copy.a
|
||||
;RUN: llvm-ranlib GNU_copy.a
|
||||
;RUN: llvm-ar t GNU_copy.a > %t1
|
||||
;RUN: sed -e '/^;.*/d' %s >%t2
|
||||
;RUN: diff %t2 %t1
|
||||
evenlen
|
||||
|
|
Loading…
Reference in New Issue