From: Kuba Mracek Date: Sun, 20 Aug 2017 18:18:44 +0000 (+0000) Subject: Remove uses of "%T" from test/Object/archive-* tests. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6965d51be7abde35650542a66c23e4da4232c03e;p=llvm Remove uses of "%T" from test/Object/archive-* tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@311296 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Object/archive-delete.test b/test/Object/archive-delete.test index c8530beafce..6409f7a8996 100644 --- a/test/Object/archive-delete.test +++ b/test/Object/archive-delete.test @@ -1,6 +1,6 @@ Test the 'd' operation in llvm-ar -RUN: cd %T +RUN: rm -rf %t && mkdir -p %t && cd %t RUN: rm -f %t.a RUN: cp %p/Inputs/GNU.a %t.a diff --git a/test/Object/archive-extract.test b/test/Object/archive-extract.test index 664529d6c80..c5a57509d5e 100644 --- a/test/Object/archive-extract.test +++ b/test/Object/archive-extract.test @@ -1,7 +1,7 @@ ; This test just makes sure that llvm-ar can extract bytecode members ; from various style archives. -; RUN: cd %T +; RUN: rm -rf %t && mkdir -p %t && cd %t ; RUN: rm -f very_long_bytecode_file_name.bc ; RUN: llvm-ar p %p/Inputs/GNU.a very_long_bytecode_file_name.bc | \ diff --git a/test/Object/archive-move.test b/test/Object/archive-move.test index adc114994d2..759923ad9c1 100644 --- a/test/Object/archive-move.test +++ b/test/Object/archive-move.test @@ -1,6 +1,6 @@ Test the 'm' operation in llvm-ar -RUN: cd %T +RUN: rm -rf %t && mkdir -p %t && cd %t RUN: rm -f %t.a RUN: cp %p/Inputs/GNU.a %t.a diff --git a/test/Object/archive-thin-paths.test b/test/Object/archive-thin-paths.test index 21788b47acc..8dbf3be0e18 100644 --- a/test/Object/archive-thin-paths.test +++ b/test/Object/archive-thin-paths.test @@ -1,6 +1,6 @@ REQUIRES: system-windows -RUN: cd %T +RUN: rm -rf %t && mkdir -p %t && cd %t RUN: mkdir -p archive-thin-paths.dir RUN: echo foo > archive-thin-paths.dir/foo.o diff --git a/test/Object/archive-update.test b/test/Object/archive-update.test index fd1ea4113c3..669b116ce4b 100644 --- a/test/Object/archive-update.test +++ b/test/Object/archive-update.test @@ -1,6 +1,6 @@ Test the 'u' option of llvm-ar -RUN: cd %T +RUN: rm -rf %t && mkdir -p %t && cd %t RUN: rm -f %t.a Create a file named evenlen that is newer than the evenlen on the source dir.