aboutsummaryrefslogtreecommitdiff
path: root/test/Archive
diff options
context:
space:
mode:
authorTanya Lattner <tonic@nondot.org>2004-11-20 23:47:23 +0000
committerTanya Lattner <tonic@nondot.org>2004-11-20 23:47:23 +0000
commitca1dd856d37e6e8431e4df32e5d636aa63d4658f (patch)
treef16730626c54c819a72b10b0bed49d185937085a /test/Archive
parent4e2239dc5c0b2cf6b9e3b76e76ae70ca09d68fd9 (diff)
Removing unnecessary copies. Use %p to reference them.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18059 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Archive')
-rw-r--r--test/Archive/ranlib_GNU.ll5
-rw-r--r--test/Archive/ranlib_SVR4.ll5
-rw-r--r--test/Archive/ranlib_xpg4.ll5
3 files changed, 6 insertions, 9 deletions
diff --git a/test/Archive/ranlib_GNU.ll b/test/Archive/ranlib_GNU.ll
index c735b37ba7..61ca2734dd 100644
--- a/test/Archive/ranlib_GNU.ll
+++ b/test/Archive/ranlib_GNU.ll
@@ -1,9 +1,8 @@
;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: cp %p/GNU.a .
-;RUN: llvm-ranlib GNU.a
-;RUN: llvm-ar t GNU.a > %t1
+;RUN: llvm-ranlib %p/GNU.a
+;RUN: llvm-ar t %p/GNU.a > %t1
;RUN: sed -e '/^;.*/d' %s >%t2
;RUN: diff %t2 %t1
evenlen
diff --git a/test/Archive/ranlib_SVR4.ll b/test/Archive/ranlib_SVR4.ll
index 4eeb7bdbf0..6874662a12 100644
--- a/test/Archive/ranlib_SVR4.ll
+++ b/test/Archive/ranlib_SVR4.ll
@@ -1,9 +1,8 @@
;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: cp %p/SVR4.a .
-;RUN: llvm-ranlib SVR4.a
-;RUN: llvm-ar t SVR4.a > %t1
+;RUN: llvm-ranlib %p/SVR4.a
+;RUN: llvm-ar t %p/SVR4.a > %t1
;RUN: sed -e '/^;.*/d' %s >%t2
;RUN: diff %t2 %t1
evenlen
diff --git a/test/Archive/ranlib_xpg4.ll b/test/Archive/ranlib_xpg4.ll
index 6388cc20a3..ef363af804 100644
--- a/test/Archive/ranlib_xpg4.ll
+++ b/test/Archive/ranlib_xpg4.ll
@@ -1,9 +1,8 @@
;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: cp %p/xpg4.a .
-;RUN: llvm-ranlib xpg4.a
-;RUN: llvm-ar t xpg4.a > %t1
+;RUN: llvm-ranlib %p/xpg4.a
+;RUN: llvm-ar t %p/xpg4.a > %t1
;RUN: sed -e '/^;.*/d' %s >%t2
;RUN: diff %t2 %t1
evenlen