summaryrefslogtreecommitdiffstats
path: root/llvm/test
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-15 10:11:13 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-15 10:11:13 +0000
commit892c86fbadd384c6fbdd87ffaf5672f1419306fd (patch)
tree96c7c6cdb2bf79d9d1812d2eb6a8c4bc60482a6f /llvm/test
parent7f346b43626faada65ef78dab6365997f617b8fc (diff)
downloadbcm5719-llvm-892c86fbadd384c6fbdd87ffaf5672f1419306fd.tar.gz
bcm5719-llvm-892c86fbadd384c6fbdd87ffaf5672f1419306fd.zip
For PR1319: Upgrade to new test harness
llvm-svn: 36069
Diffstat (limited to 'llvm/test')
-rw-r--r--llvm/test/Bytecode/2006-12-11-Cast-ConstExpr.ll4
-rw-r--r--llvm/test/Bytecode/dg.exp4
2 files changed, 5 insertions, 3 deletions
diff --git a/llvm/test/Bytecode/2006-12-11-Cast-ConstExpr.ll b/llvm/test/Bytecode/2006-12-11-Cast-ConstExpr.ll
index aa2cf9306fc..4c768d63cb6 100644
--- a/llvm/test/Bytecode/2006-12-11-Cast-ConstExpr.ll
+++ b/llvm/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/llvm/test/Bytecode/dg.exp b/llvm/test/Bytecode/dg.exp
index ff34508c3c6..879685ca879 100644
--- a/llvm/test/Bytecode/dg.exp
+++ b/llvm/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}]]
OpenPOWER on IntegriCloud