OSDN Git Service

For PR1319: Upgrade to new test harness
authorReid Spencer <rspencer@reidspencer.com>
Sun, 15 Apr 2007 10:26:05 +0000 (10:26 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 15 Apr 2007 10:26:05 +0000 (10:26 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36070 91177308-0d34-0410-b5e6-96231b3b80d8

test/ExecutionEngine/2004-12-04-LazyCompileFuncs.ll
test/ExecutionEngine/dg.exp
test/Other/2003-02-19-LoopInfoNestingBug.ll
test/Other/dg.exp
test/TableGen/Include.td
test/TableGen/LazyChange.td
test/TableGen/MultiClass.td
test/TableGen/dg.exp
test/Verifier/2006-10-15-AddrLabel.ll
test/Verifier/dg.exp

index 34c2d03..e266be9 100644 (file)
@@ -1,5 +1,5 @@
-; RUN: llvm-as -f %s -o %t.bc
-; RUN: lli -debug-only=jit %t.bc 2>&1 | not grep 'Finished CodeGen of .*Function: F'
+; RUN: llvm-upgrade %s | llvm-as -f -o %t.bc
+; RUN: lli -debug-only=jit %t.bc |& not grep {Finished CodeGen of .*Function: F}
 
 %.str_1 = internal constant [7 x sbyte] c"IN F!\0A\00"         ; <[7 x sbyte]*> [#uses=1]
 %.str_2 = internal constant [7 x sbyte] c"IN G!\0A\00"         ; <[7 x sbyte]*> [#uses=1]
index ff34508..879685c 100644 (file)
@@ -1,3 +1,3 @@
-load_lib llvm-dg.exp
+load_lib llvm.exp
 
-llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
+RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
index bf71f5f..ebad6ba 100644 (file)
@@ -2,7 +2,8 @@
 ; figure out that loop "Inner" should be nested inside of leep "LoopHeader", 
 ; and instead nests it just inside loop "Top"
 ;
-; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -loops | grep '     Loop Containing:[ ]*%Inner'
+; RUN: llvm-upgrade < %s | llvm-as | opt -analyze -loops | \
+; RUN:   grep {     Loop Containing:\[ \]*%Inner}
 ;
 
 implementation
index ff34508..879685c 100644 (file)
@@ -1,3 +1,3 @@
-load_lib llvm-dg.exp
+load_lib llvm.exp
 
-llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
+RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
index fe9ecb0..29ed515 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: tblgen -I `dirname %s` %s
+// RUN: tblgen -I %p %s
 def BeforeInclude;
 
 include "Include.inc"
index c3e54de..145fd0b 100644 (file)
@@ -1,4 +1,4 @@
-// RUN: tblgen %s | grep 'int Y = 3'
+// RUN: tblgen %s | grep {int Y = 3}
 
 
 class C {
index 2840e67..41019eb 100644 (file)
@@ -1,5 +1,4 @@
-// RUN: tblgen %s &&
-// RUN: tblgen %s | grep 'zing = 4' | wc -l | grep 2
+// RUN: tblgen %s | grep {zing = 4} | wc -l | grep 2
 
 class C1<int A, string B> { 
   int bar = A;
index 8315961..f7d275a 100644 (file)
@@ -1,3 +1,3 @@
-load_lib llvm-dg.exp
+load_lib llvm.exp
 
-llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{td}]]
+RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{td}]]
index fb9acf1..173b0cf 100644 (file)
@@ -1,6 +1,5 @@
-; RUN: not llvm-as 2>&1 < %s > /dev/null &&
-; RUN: llvm-as 2>&1 < %s > /dev/null | \
-; RUN:    grep 'Cannot form a pointer to a basic block'
+; RUN: ignore llvm-as < %s > /dev/null |& \
+; RUN:    grep {Cannot form a pointer to a basic block}
 
 define i32 @main() {
          %foo  = call i8* %llvm.stacksave()
index ff34508..879685c 100644 (file)
@@ -1,3 +1,3 @@
-load_lib llvm-dg.exp
+load_lib llvm.exp
 
-llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
+RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]