[llvm] r311296 - Remove uses of "%T" from test/Object/archive-* tests.
Kuba Mracek via llvm-commits
llvm-commits at lists.llvm.org
Sun Aug 20 11:18:44 PDT 2017
Author: kuba.brecka
Date: Sun Aug 20 11:18:44 2017
New Revision: 311296
URL: http://llvm.org/viewvc/llvm-project?rev=311296&view=rev
Log:
Remove uses of "%T" from test/Object/archive-* tests.
Modified:
llvm/trunk/test/Object/archive-delete.test
llvm/trunk/test/Object/archive-extract.test
llvm/trunk/test/Object/archive-move.test
llvm/trunk/test/Object/archive-thin-paths.test
llvm/trunk/test/Object/archive-update.test
Modified: llvm/trunk/test/Object/archive-delete.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/archive-delete.test?rev=311296&r1=311295&r2=311296&view=diff
==============================================================================
--- llvm/trunk/test/Object/archive-delete.test (original)
+++ llvm/trunk/test/Object/archive-delete.test Sun Aug 20 11:18:44 2017
@@ -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
Modified: llvm/trunk/test/Object/archive-extract.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/archive-extract.test?rev=311296&r1=311295&r2=311296&view=diff
==============================================================================
--- llvm/trunk/test/Object/archive-extract.test (original)
+++ llvm/trunk/test/Object/archive-extract.test Sun Aug 20 11:18:44 2017
@@ -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 | \
Modified: llvm/trunk/test/Object/archive-move.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/archive-move.test?rev=311296&r1=311295&r2=311296&view=diff
==============================================================================
--- llvm/trunk/test/Object/archive-move.test (original)
+++ llvm/trunk/test/Object/archive-move.test Sun Aug 20 11:18:44 2017
@@ -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
Modified: llvm/trunk/test/Object/archive-thin-paths.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/archive-thin-paths.test?rev=311296&r1=311295&r2=311296&view=diff
==============================================================================
--- llvm/trunk/test/Object/archive-thin-paths.test (original)
+++ llvm/trunk/test/Object/archive-thin-paths.test Sun Aug 20 11:18:44 2017
@@ -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
Modified: llvm/trunk/test/Object/archive-update.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Object/archive-update.test?rev=311296&r1=311295&r2=311296&view=diff
==============================================================================
--- llvm/trunk/test/Object/archive-update.test (original)
+++ llvm/trunk/test/Object/archive-update.test Sun Aug 20 11:18:44 2017
@@ -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.
More information about the llvm-commits
mailing list