From 26c7d8b7e010efb6e17744f2d51373824efed160 Mon Sep 17 00:00:00 2001 From: John Criswell Date: Fri, 26 Sep 2003 20:20:44 +0000 Subject: [PATCH] Updated these tests so that they use the new temporary directory as opposed to the old Output directory for temporary files. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8728 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Linker/2003-08-20-OpaqueTypeResolve.ll | 6 +++--- test/Linker/2003-08-23-GlobalVarLinking.ll | 6 +++--- test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll | 6 +++--- test/Linker/2003-08-24-InheritPtrSize.ll | 6 +++--- test/Linker/2003-08-28-TypeResolvesGlobal.ll | 6 +++--- test/Linker/2003-08-28-TypeResolvesGlobal2.ll | 6 +++--- test/Linker/2003-08-28-TypeResolvesGlobal3.ll | 6 +++--- 7 files changed, 21 insertions(+), 21 deletions(-) diff --git a/test/Linker/2003-08-20-OpaqueTypeResolve.ll b/test/Linker/2003-08-20-OpaqueTypeResolve.ll index 95d3f099807..5b45cdfa53b 100644 --- a/test/Linker/2003-08-20-OpaqueTypeResolve.ll +++ b/test/Linker/2003-08-20-OpaqueTypeResolve.ll @@ -1,7 +1,7 @@ -; RUN: llvm-as < %s > Output/%s.out1.bc -; RUN: echo "%S = type { int, int* }" | llvm-as > Output/%s.out2.bc -; RUN: llvm-link Output/%s.out[12].bc +; RUN: llvm-as < %s > %t.out1.bc +; RUN: echo "%S = type { int, int* }" | llvm-as > %t.out2.bc +; RUN: llvm-link %t.out[12].bc %T = type opaque %S = type { int, %T* } diff --git a/test/Linker/2003-08-23-GlobalVarLinking.ll b/test/Linker/2003-08-23-GlobalVarLinking.ll index 0666545dd82..51ad19451a2 100644 --- a/test/Linker/2003-08-23-GlobalVarLinking.ll +++ b/test/Linker/2003-08-23-GlobalVarLinking.ll @@ -1,6 +1,6 @@ -; RUN: llvm-as < %s > Output/%s.out1.bc -; RUN: echo "%S = external global { int, opaque* } declare void %F(opaque*)" | llvm-as > Output/%s.out2.bc -; RUN: llvm-link Output/%s.out[12].bc | llvm-dis | not grep opaque +; RUN: llvm-as < %s > %t.out1.bc +; RUN: echo "%S = external global { int, opaque* } declare void %F(opaque*)" | llvm-as > %t.out2.bc +; RUN: llvm-link %t.out[12].bc | llvm-dis | not grep opaque ; After linking this testcase, there should be no opaque types left. The two ; S's should cause the opaque type to be resolved to 'int'. diff --git a/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll b/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll index 90e93335d06..e052d56bacd 100644 --- a/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll +++ b/test/Linker/2003-08-23-RecursiveOpaqueTypeResolve.ll @@ -1,8 +1,8 @@ ; It's a bad idea to go recursively traipsing through types without a safety ; net. -; RUN: llvm-as < %s > Output/%s.out1.bc -; RUN: echo "%S = type { %S*, int* }" | llvm-as > Output/%s.out2.bc -; RUN: llvm-link Output/%s.out[12].bc +; RUN: llvm-as < %s > %t.out1.bc +; RUN: echo "%S = type { %S*, int* }" | llvm-as > %t.out2.bc +; RUN: llvm-link %t.out[12].bc %S = type { %S*, opaque* } diff --git a/test/Linker/2003-08-24-InheritPtrSize.ll b/test/Linker/2003-08-24-InheritPtrSize.ll index 1053a4eede8..dc446155ff7 100644 --- a/test/Linker/2003-08-24-InheritPtrSize.ll +++ b/test/Linker/2003-08-24-InheritPtrSize.ll @@ -1,9 +1,9 @@ ; Linking these a module with a specified pointer size to one without a ; specified pointer size should not cause a warning! -; RUN: llvm-as < %s > Output/%s.out1.bc -; RUN: echo "" | llvm-as > Output/%s.out2.bc -; RUN: llvm-link Output/%s.out[12].bc 2>&1 | not grep WARNING +; RUN: llvm-as < %s > %t.out1.bc +; RUN: echo "" | llvm-as > %t.out2.bc +; RUN: llvm-link %t.out[12].bc 2>&1 | not grep WARNING target pointersize = 64 diff --git a/test/Linker/2003-08-28-TypeResolvesGlobal.ll b/test/Linker/2003-08-28-TypeResolvesGlobal.ll index 1baeae5ec79..54d0a6fa242 100644 --- a/test/Linker/2003-08-28-TypeResolvesGlobal.ll +++ b/test/Linker/2003-08-28-TypeResolvesGlobal.ll @@ -1,6 +1,6 @@ -; RUN: llvm-as < %s > Output/%s.out1.bc -; RUN: echo "%S = type int" | llvm-as > Output/%s.out2.bc -; RUN: llvm-link Output/%s.out[21].bc +; RUN: llvm-as < %s > %t.out1.bc +; RUN: echo "%S = type int" | llvm-as > %t.out2.bc +; RUN: llvm-link %t.out[21].bc %S = type opaque diff --git a/test/Linker/2003-08-28-TypeResolvesGlobal2.ll b/test/Linker/2003-08-28-TypeResolvesGlobal2.ll index a0526d4612c..e83d2320177 100644 --- a/test/Linker/2003-08-28-TypeResolvesGlobal2.ll +++ b/test/Linker/2003-08-28-TypeResolvesGlobal2.ll @@ -1,6 +1,6 @@ -; RUN: llvm-as < %s > Output/%s.out1.bc -; RUN: echo "%S = type int" | llvm-as > Output/%s.out2.bc -; RUN: llvm-link Output/%s.out[21].bc +; RUN: llvm-as < %s > %t.out1.bc +; RUN: echo "%S = type int" | llvm-as > %t.out2.bc +; RUN: llvm-link %t.out[21].bc %S = type opaque diff --git a/test/Linker/2003-08-28-TypeResolvesGlobal3.ll b/test/Linker/2003-08-28-TypeResolvesGlobal3.ll index 504e8dd4779..31900998442 100644 --- a/test/Linker/2003-08-28-TypeResolvesGlobal3.ll +++ b/test/Linker/2003-08-28-TypeResolvesGlobal3.ll @@ -1,6 +1,6 @@ -; RUN: llvm-as < %s > Output/%s.out1.bc -; RUN: echo "%S = type int" | llvm-as > Output/%s.out2.bc -; RUN: llvm-link Output/%s.out[21].bc +; RUN: llvm-as < %s > %t.out1.bc +; RUN: echo "%S = type int" | llvm-as > %t.out2.bc +; RUN: llvm-link %t.out[21].bc %S = type opaque -- 2.34.1