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
-load_lib llvm-dg.exp
+load_lib llvm.exp
llvm-runtest [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]
; 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
-; 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
; 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