For PR1319:
authorReid Spencer <rspencer@reidspencer.com>
Sat, 14 Apr 2007 16:40:08 +0000 (16:40 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sat, 14 Apr 2007 16:40:08 +0000 (16:40 +0000)
Changes necessary for conversion of this directory to run the tests
under the llvm.exp version of llvm_runtest

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@35993 91177308-0d34-0410-b5e6-96231b3b80d8

test/Feature/dg.exp
test/Feature/globalredefinition2.ll
test/Feature/globalredefinition3.ll
test/Feature/packed_struct.ll

index ff34508c3c64c167429097e1c896dd65daaff278..694e4fdd88ab661ec85ee1d7be23899c5970ef26 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}]]
index d99a80d85ad33d2125effe543981c1575c62c6b9..8ec6ca753540640ce6a1c7056a2a63fa999233f8 100644 (file)
@@ -1,5 +1,5 @@
 ; Test that redefinitions of globals produces an error in llvm-upgrade
-; RUN: llvm-upgrade < %s -o /dev/null -f 2>&1 | \
+; RUN: llvm-upgrade < %s -o /dev/null -f |& \
 ; RUN:   grep "Renaming global variable 'B' to.*linkage errors"
 
 %B = global int 7
index 8e81d219e2434615811f9da50c8462891d74cc29..7b753a9d9d0261cb23d4ee61ca90c70ace6a109e 100644 (file)
@@ -1,8 +1,6 @@
-; When PR1067 is fixed, this should not be XFAIL any more.
-; RUN: llvm-as < %s -o /dev/null -f 2>&1 | \
+; RUN: ignore llvm-as < %s -o /dev/null -f |& \
 ; RUN:   grep "Redefinition of global variable named 'B'"
-
-; Test forward references and redefinitions of globals
+; END.
 
 @B = global i32 7
 @B = global i32 7
index b6934d4210acf3b7408f24d3c8dbb439966edfc6..ecf129fa09c538659ee79437f7744691e0d105d7 100755 (executable)
@@ -1,8 +1,9 @@
 ; RUN: llvm-as < %s | llvm-dis > %t1.ll
 ; RUN: llvm-as %t1.ll -o - | llvm-dis > %t2.ll
-; RUN: diff %t1.ll %t2.ll &&
-; RUN: not grep cast %t2.ll &&
-; RUN: grep "<{" %t2.ll
+; RUN: diff %t1.ll %t2.ll
+; RUN: not grep cast %t2.ll
+; RUN: grep '\<{' %t2.ll
+; END.
 
 %struct.anon = type <{ i8, i32, i32, i32 }>
 @foos = external global %struct.anon