For PR1319: Upgrade to new test harness

llvm-svn: 36070
This commit is contained in:
Reid Spencer 2007-04-15 10:26:05 +00:00
parent 892c86fbad
commit c943f8ff34
10 changed files with 17 additions and 18 deletions

View 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]

View 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}]]

View 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

View 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}]]

View File

@ -1,4 +1,4 @@
// RUN: tblgen -I `dirname %s` %s
// RUN: tblgen -I %p %s
def BeforeInclude;
include "Include.inc"

View File

@ -1,4 +1,4 @@
// RUN: tblgen %s | grep 'int Y = 3'
// RUN: tblgen %s | grep {int Y = 3}
class C {

View 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;

View 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}]]

View 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()

View 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}]]