[llvm-commits] CVS: llvm/test/Regression/Linker/2002-07-17-GlobalFail.ll 2002-07-17-LinkTest2.ll 2002-08-20-ConstantExpr.ll 2003-01-30-LinkerRename.ll 2003-01-30-LinkerTypeRename.ll 2003-04-21-Linkage.ll 2003-04-23-LinkOnceLost.ll 2003-04-26-NullPtrLinkProblem.ll 2003-05-15-TypeProblem.ll 2003-05-31-LinkerRename.ll 2003-06-02-TypeResolveProblem.ll 2003-06-02-TypeResolveProblem2.ll AppendingLinkage.ll AppendingLinkage2.ll LinkOnce.ll testlink1.ll

John Criswell criswell at cs.uiuc.edu
Sat Sep 6 10:17:18 PDT 2003


Changes in directory llvm/test/Regression/Linker:

2002-07-17-GlobalFail.ll updated: 1.1 -> 1.2
2002-07-17-LinkTest2.ll updated: 1.2 -> 1.3
2002-08-20-ConstantExpr.ll updated: 1.2 -> 1.3
2003-01-30-LinkerRename.ll updated: 1.1 -> 1.2
2003-01-30-LinkerTypeRename.ll updated: 1.1 -> 1.2
2003-04-21-Linkage.ll updated: 1.1 -> 1.2
2003-04-23-LinkOnceLost.ll updated: 1.1 -> 1.2
2003-04-26-NullPtrLinkProblem.ll updated: 1.1 -> 1.2
2003-05-15-TypeProblem.ll updated: 1.1 -> 1.2
2003-05-31-LinkerRename.ll updated: 1.3 -> 1.4
2003-06-02-TypeResolveProblem.ll updated: 1.1 -> 1.2
2003-06-02-TypeResolveProblem2.ll updated: 1.1 -> 1.2
AppendingLinkage.ll updated: 1.2 -> 1.3
AppendingLinkage2.ll updated: 1.1 -> 1.2
LinkOnce.ll updated: 1.1 -> 1.2
testlink1.ll updated: 1.8 -> 1.9

---
Log message:

Checkin of autoconf-style object root.

Updated TestRunner tests so that they work correctly in a separate object root
directory.


---
Diffs of the changes:

Index: llvm/test/Regression/Linker/2002-07-17-GlobalFail.ll
diff -u llvm/test/Regression/Linker/2002-07-17-GlobalFail.ll:1.1 llvm/test/Regression/Linker/2002-07-17-GlobalFail.ll:1.2
--- llvm/test/Regression/Linker/2002-07-17-GlobalFail.ll:1.1	Tue Jul 23 13:26:47 2002
+++ llvm/test/Regression/Linker/2002-07-17-GlobalFail.ll	Sat Sep  6 10:15:03 2003
@@ -1,6 +1,6 @@
-; RUN: as < %s > Output/%s.bc
-; RUN: echo | as > Output/%s.tmp.bc
-; RUN: link Output/%s.tmp.bc Output/%s.bc
+; RUN: as < %s > %t.bc
+; RUN: echo | as > %t.tmp.bc
+; RUN: link %t.tmp.bc %t.bc
 
 %X = constant int 5
 %Y = internal global [2 x int*] [ int* %X, int * %X]


Index: llvm/test/Regression/Linker/2002-07-17-LinkTest2.ll
diff -u llvm/test/Regression/Linker/2002-07-17-LinkTest2.ll:1.2 llvm/test/Regression/Linker/2002-07-17-LinkTest2.ll:1.3
--- llvm/test/Regression/Linker/2002-07-17-LinkTest2.ll:1.2	Tue Aug 20 14:32:17 2002
+++ llvm/test/Regression/Linker/2002-07-17-LinkTest2.ll	Sat Sep  6 10:15:03 2003
@@ -1,8 +1,8 @@
 ; This fails linking when it is linked with an empty file as the first object file
 
-; RUN: as > Output/LinkTest1.bc < /dev/null
-; RUN: as < %s > Output/LinkTest2.bc
-; RUN: link Output/LinkTest[12].bc
+; RUN: as > %t1.bc < /dev/null
+; RUN: as < %s > %t2.bc
+; RUN: link %t[12].bc
 
 %work = global int (int, int)* %zip
 


Index: llvm/test/Regression/Linker/2002-08-20-ConstantExpr.ll
diff -u llvm/test/Regression/Linker/2002-08-20-ConstantExpr.ll:1.2 llvm/test/Regression/Linker/2002-08-20-ConstantExpr.ll:1.3
--- llvm/test/Regression/Linker/2002-08-20-ConstantExpr.ll:1.2	Thu Jan 23 13:52:48 2003
+++ llvm/test/Regression/Linker/2002-08-20-ConstantExpr.ll	Sat Sep  6 10:15:03 2003
@@ -1,8 +1,8 @@
 ; This fails linking when it is linked with an empty file as the first object file
 
-; RUN: as > Output/%s.LinkTest.bc < /dev/null
-; RUN: as < %s > Output/%s.bc
-; RUN: link Output/%s.LinkTest.bc Output/%s.bc
+; RUN: as > %t.LinkTest.bc < /dev/null
+; RUN: as < %s > %t.bc
+; RUN: link %t.LinkTest.bc %t.bc
 
 %work = global int 4
 %test = global int* getelementptr( int* %work, long 1)


Index: llvm/test/Regression/Linker/2003-01-30-LinkerRename.ll
diff -u llvm/test/Regression/Linker/2003-01-30-LinkerRename.ll:1.1 llvm/test/Regression/Linker/2003-01-30-LinkerRename.ll:1.2
--- llvm/test/Regression/Linker/2003-01-30-LinkerRename.ll:1.1	Thu Jan 30 13:28:01 2003
+++ llvm/test/Regression/Linker/2003-01-30-LinkerRename.ll	Sat Sep  6 10:15:03 2003
@@ -1,9 +1,9 @@
 ; This fails because the linker renames the external symbol not the internal 
 ; one...
 
-; RUN: echo "implementation internal int %foo() { ret int 7 }" | as > Output/%s.1.bc
-; RUN: as < %s > Output/%s.2.bc
-; RUN: link Output/%s.[12].bc | dis | grep '%foo()' | grep -v internal
+; RUN: echo "implementation internal int %foo() { ret int 7 }" | as > %t.1.bc
+; RUN: as < %s > %t.2.bc
+; RUN: link %t.[12].bc | dis | grep '%foo()' | grep -v internal
 
 implementation
 int %foo() { ret int 0 }


Index: llvm/test/Regression/Linker/2003-01-30-LinkerTypeRename.ll
diff -u llvm/test/Regression/Linker/2003-01-30-LinkerTypeRename.ll:1.1 llvm/test/Regression/Linker/2003-01-30-LinkerTypeRename.ll:1.2
--- llvm/test/Regression/Linker/2003-01-30-LinkerTypeRename.ll:1.1	Thu Jan 30 14:03:15 2003
+++ llvm/test/Regression/Linker/2003-01-30-LinkerTypeRename.ll	Sat Sep  6 10:15:03 2003
@@ -1,9 +1,9 @@
 ; This fails because the linker renames the non-opaque type not the opaque 
 ; one...
 
-; RUN: echo "%Ty = type opaque" | as > Output/%s.1.bc
-; RUN: as < %s > Output/%s.2.bc
-; RUN: link Output/%s.[12].bc | dis | grep '%Ty ' | grep -v opaque
+; RUN: echo "%Ty = type opaque" | as > %t.1.bc
+; RUN: as < %s > %t.2.bc
+; RUN: link %t.[12].bc | dis | grep '%Ty ' | grep -v opaque
 
 %Ty = type int
 


Index: llvm/test/Regression/Linker/2003-04-21-Linkage.ll
diff -u llvm/test/Regression/Linker/2003-04-21-Linkage.ll:1.1 llvm/test/Regression/Linker/2003-04-21-Linkage.ll:1.2
--- llvm/test/Regression/Linker/2003-04-21-Linkage.ll:1.1	Mon Apr 21 16:06:25 2003
+++ llvm/test/Regression/Linker/2003-04-21-Linkage.ll	Sat Sep  6 10:15:03 2003
@@ -1,6 +1,6 @@
-; RUN: echo "%X = linkonce global int 5  implementation linkonce int %foo() { ret int 7 }" | as > Output/%s.1.bc
-; RUN: as < %s > Output/%s.2.bc
-; RUN: link Output/%s.[12].bc 
+; RUN: echo "%X = linkonce global int 5  implementation linkonce int %foo() { ret int 7 }" | as > %t.1.bc
+; RUN: as < %s > %t.2.bc
+; RUN: link %t.[12].bc 
 %X = external global int 
 
 implementation


Index: llvm/test/Regression/Linker/2003-04-23-LinkOnceLost.ll
diff -u llvm/test/Regression/Linker/2003-04-23-LinkOnceLost.ll:1.1 llvm/test/Regression/Linker/2003-04-23-LinkOnceLost.ll:1.2
--- llvm/test/Regression/Linker/2003-04-23-LinkOnceLost.ll:1.1	Wed Apr 23 13:38:24 2003
+++ llvm/test/Regression/Linker/2003-04-23-LinkOnceLost.ll	Sat Sep  6 10:15:03 2003
@@ -1,8 +1,8 @@
 ; This fails because the linker renames the non-opaque type not the opaque 
 ; one...
 
-; RUN: echo "implementation linkonce void %foo() { ret void } " | as > Output/%s.2.bc
-; RUN: as < %s > Output/%s.1.bc
-; RUN: link Output/%s.[12].bc | dis | grep foo | grep linkonce
+; RUN: echo "implementation linkonce void %foo() { ret void } " | as > %t.2.bc
+; RUN: as < %s > %t.1.bc
+; RUN: link %t.[12].bc | dis | grep foo | grep linkonce
 
 declare void %foo()


Index: llvm/test/Regression/Linker/2003-04-26-NullPtrLinkProblem.ll
diff -u llvm/test/Regression/Linker/2003-04-26-NullPtrLinkProblem.ll:1.1 llvm/test/Regression/Linker/2003-04-26-NullPtrLinkProblem.ll:1.2
--- llvm/test/Regression/Linker/2003-04-26-NullPtrLinkProblem.ll:1.1	Sat Apr 26 15:29:09 2003
+++ llvm/test/Regression/Linker/2003-04-26-NullPtrLinkProblem.ll	Sat Sep  6 10:15:03 2003
@@ -1,9 +1,9 @@
 ; This one fails because the LLVM runtime is allowing two null pointers of
 ; the same type to be created!
 
-; RUN: echo "%T = type int" | as > Output/%s.2.bc
-; RUN: as < %s > Output/%s.1.bc
-; RUN: link Output/%s.[12].bc
+; RUN: echo "%T = type int" | as > %t.2.bc
+; RUN: as < %s > %t.1.bc
+; RUN: link %t.[12].bc
 
 %T = type opaque
 


Index: llvm/test/Regression/Linker/2003-05-15-TypeProblem.ll
diff -u llvm/test/Regression/Linker/2003-05-15-TypeProblem.ll:1.1 llvm/test/Regression/Linker/2003-05-15-TypeProblem.ll:1.2
--- llvm/test/Regression/Linker/2003-05-15-TypeProblem.ll:1.1	Thu May 15 11:01:32 2003
+++ llvm/test/Regression/Linker/2003-05-15-TypeProblem.ll	Sat Sep  6 10:15:03 2003
@@ -1,9 +1,9 @@
 ; This one fails because the LLVM runtime is allowing two null pointers of
 ; the same type to be created!
 
-; RUN: echo "%S = type { %T*} %T = type opaque" | as > Output/%s.2.bc
-; RUN: as < %s > Output/%s.1.bc
-; RUN: link Output/%s.[12].bc
+; RUN: echo "%S = type { %T*} %T = type opaque" | as > %t.2.bc
+; RUN: as < %s > %t.1.bc
+; RUN: link %t.[12].bc
 
 %S = type { %T* }
 %T = type int


Index: llvm/test/Regression/Linker/2003-05-31-LinkerRename.ll
diff -u llvm/test/Regression/Linker/2003-05-31-LinkerRename.ll:1.3 llvm/test/Regression/Linker/2003-05-31-LinkerRename.ll:1.4
--- llvm/test/Regression/Linker/2003-05-31-LinkerRename.ll:1.3	Sat Jun 28 18:32:04 2003
+++ llvm/test/Regression/Linker/2003-05-31-LinkerRename.ll	Sat Sep  6 10:15:03 2003
@@ -3,9 +3,9 @@
 ; a program that already has an external declaration for the function name, we must
 ; rename the internal function to something that does not conflict.
 
-; RUN: echo "implementation internal int %foo() { ret int 7 }" | as > Output/%s.1.bc
-; RUN: as < %s > Output/%s.2.bc
-; RUN: link Output/%s.[12].bc | dis | grep 'internal' | not grep '%foo('
+; RUN: echo "implementation internal int %foo() { ret int 7 }" | as > %t.1.bc
+; RUN: as < %s > %t.2.bc
+; RUN: link %t.[12].bc | dis | grep 'internal' | not grep '%foo('
 
 implementation
 declare int %foo() 


Index: llvm/test/Regression/Linker/2003-06-02-TypeResolveProblem.ll
diff -u llvm/test/Regression/Linker/2003-06-02-TypeResolveProblem.ll:1.1 llvm/test/Regression/Linker/2003-06-02-TypeResolveProblem.ll:1.2
--- llvm/test/Regression/Linker/2003-06-02-TypeResolveProblem.ll:1.1	Mon Jun  2 12:07:42 2003
+++ llvm/test/Regression/Linker/2003-06-02-TypeResolveProblem.ll	Sat Sep  6 10:15:03 2003
@@ -1,6 +1,6 @@
-; RUN: echo "%T = type opaque" | as > Output/%s.2.bc
-; RUN: as < %s > Output/%s.1.bc
-; RUN: link Output/%s.[12].bc
+; RUN: echo "%T = type opaque" | as > %t.2.bc
+; RUN: as < %s > %t.1.bc
+; RUN: link %t.[12].bc
 
 %T = type opaque
 %a = constant { %T* }  { %T* null }


Index: llvm/test/Regression/Linker/2003-06-02-TypeResolveProblem2.ll
diff -u llvm/test/Regression/Linker/2003-06-02-TypeResolveProblem2.ll:1.1 llvm/test/Regression/Linker/2003-06-02-TypeResolveProblem2.ll:1.2
--- llvm/test/Regression/Linker/2003-06-02-TypeResolveProblem2.ll:1.1	Mon Jun  2 12:31:24 2003
+++ llvm/test/Regression/Linker/2003-06-02-TypeResolveProblem2.ll	Sat Sep  6 10:15:03 2003
@@ -1,6 +1,6 @@
-; RUN: echo "%T = type int" | as > Output/%s.1.bc
-; RUN: as < %s > Output/%s.2.bc
-; RUN: link Output/%s.[12].bc
+; RUN: echo "%T = type int" | as > %t.1.bc
+; RUN: as < %s > %t.2.bc
+; RUN: link %t.[12].bc
 
 %T = type opaque
 


Index: llvm/test/Regression/Linker/AppendingLinkage.ll
diff -u llvm/test/Regression/Linker/AppendingLinkage.ll:1.2 llvm/test/Regression/Linker/AppendingLinkage.ll:1.3
--- llvm/test/Regression/Linker/AppendingLinkage.ll:1.2	Tue May 13 16:32:48 2003
+++ llvm/test/Regression/Linker/AppendingLinkage.ll	Sat Sep  6 10:15:03 2003
@@ -1,8 +1,8 @@
 ; Test that appending linkage works correctly.
 
-; RUN: echo "%X = appending global [1x int] [int 8]" | as > Output/%s.2.bc
-; RUN: as < %s > Output/%s.1.bc
-; RUN: link Output/%s.[12].bc | dis | grep 7 | grep 4 | grep 8
+; RUN: echo "%X = appending global [1x int] [int 8]" | as > %t.2.bc
+; RUN: as < %s > %t.1.bc
+; RUN: link %t.[12].bc | dis | grep 7 | grep 4 | grep 8
 
 %X = appending global [2 x int] [int 7, int 4]
 


Index: llvm/test/Regression/Linker/AppendingLinkage2.ll
diff -u llvm/test/Regression/Linker/AppendingLinkage2.ll:1.1 llvm/test/Regression/Linker/AppendingLinkage2.ll:1.2
--- llvm/test/Regression/Linker/AppendingLinkage2.ll:1.1	Tue May 13 15:48:17 2003
+++ llvm/test/Regression/Linker/AppendingLinkage2.ll	Sat Sep  6 10:15:03 2003
@@ -1,7 +1,7 @@
 ; Test that appending linkage works correctly when arrays are the same size.
 
-; RUN: echo "%X = appending global [1x int] [int 8]" | as > Output/%s.2.bc
-; RUN: as < %s > Output/%s.1.bc
-; RUN: link Output/%s.[12].bc | dis | grep 7 | grep 8
+; RUN: echo "%X = appending global [1x int] [int 8]" | as > %t.2.bc
+; RUN: as < %s > %t.1.bc
+; RUN: link %t.[12].bc | dis | grep 7 | grep 8
 
 %X = appending global [1 x int] [int 7]


Index: llvm/test/Regression/Linker/LinkOnce.ll
diff -u llvm/test/Regression/Linker/LinkOnce.ll:1.1 llvm/test/Regression/Linker/LinkOnce.ll:1.2
--- llvm/test/Regression/Linker/LinkOnce.ll:1.1	Wed Apr 16 16:21:35 2003
+++ llvm/test/Regression/Linker/LinkOnce.ll	Sat Sep  6 10:15:03 2003
@@ -1,8 +1,8 @@
 ; This fails because the linker renames the non-opaque type not the opaque 
 ; one...
 
-; RUN: echo "%X = linkonce global int 8" | as > Output/%s.2.bc
-; RUN: as < %s > Output/%s.1.bc
-; RUN: link Output/%s.[12].bc | dis
+; RUN: echo "%X = linkonce global int 8" | as > %t.2.bc
+; RUN: as < %s > %t.1.bc
+; RUN: link %t.[12].bc | dis
 
 %X = linkonce global int 7


Index: llvm/test/Regression/Linker/testlink1.ll
diff -u llvm/test/Regression/Linker/testlink1.ll:1.8 llvm/test/Regression/Linker/testlink1.ll:1.9
--- llvm/test/Regression/Linker/testlink1.ll:1.8	Wed Apr 23 13:38:13 2003
+++ llvm/test/Regression/Linker/testlink1.ll	Sat Sep  6 10:15:04 2003
@@ -1,6 +1,6 @@
-; RUN: as < %s > Output/%s.bc
-; RUN: as < testlink2.ll > Output/testlink2.bc
-; RUN: link Output/%s.bc Output/testlink2.bc
+; RUN: as < %s > %t.bc
+; RUN: as < `dirname %s`/testlink2.ll > %t2.bc
+; RUN: link %t.bc %t2.bc
 
 %MyVar     = external global int
 %MyIntList = global { \2 *, int } { { \2, int }* null, int 17 }





More information about the llvm-commits mailing list