summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/Bytecode/2006-12-11-Cast-ConstExpr.ll4
-rw-r--r--test/Bytecode/dg.exp4
2 files changed, 5 insertions, 3 deletions
diff --git a/test/Bytecode/2006-12-11-Cast-ConstExpr.ll b/test/Bytecode/2006-12-11-Cast-ConstExpr.ll
index aa2cf93..4c768d6 100644
--- a/test/Bytecode/2006-12-11-Cast-ConstExpr.ll
+++ b/test/Bytecode/2006-12-11-Cast-ConstExpr.ll
@@ -1,6 +1,8 @@
; This test ensures that we get a bitcast constant expression in and out,
; not a sitofp constant expression.
-; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | grep 'bitcast ('
+; RUN: llvm-upgrade < %s | llvm-as | llvm-dis | \
+; RUN: grep {bitcast (}
+
%G = external global int
float %tryit(int %A) {
diff --git a/test/Bytecode/dg.exp b/test/Bytecode/dg.exp
index ff34508..879685c 100644
--- a/test/Bytecode/dg.exp
+++ b/test/Bytecode/dg.exp
@@ -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}]]