From ca1dd856d37e6e8431e4df32e5d636aa63d4658f Mon Sep 17 00:00:00 2001 From: Tanya Lattner Date: Sat, 20 Nov 2004 23:47:23 +0000 Subject: [PATCH] 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 --- test/Archive/ranlib_GNU.ll | 5 ++--- test/Archive/ranlib_SVR4.ll | 5 ++--- test/Archive/ranlib_xpg4.ll | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/test/Archive/ranlib_GNU.ll b/test/Archive/ranlib_GNU.ll index c735b37ba72..61ca2734dd6 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 4eeb7bdbf06..6874662a12f 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 6388cc20a36..ef363af8048 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 -- 2.34.1