aboutsummaryrefslogtreecommitdiffstats
path: root/test/Other
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-04-15 10:26:05 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-04-15 10:26:05 +0000
commita9338b6195d9fb6a1c7e16680e6e9e2dad177a38 (patch)
treeb3fb4b4990fdb0b4e77611bef5c8fb8816d0663f /test/Other
parentb9e8a948bba5361264d9f40107312cdf78573144 (diff)
downloadexternal_llvm-a9338b6195d9fb6a1c7e16680e6e9e2dad177a38.zip
external_llvm-a9338b6195d9fb6a1c7e16680e6e9e2dad177a38.tar.gz
external_llvm-a9338b6195d9fb6a1c7e16680e6e9e2dad177a38.tar.bz2
For PR1319: Upgrade to new test harness
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36070 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Other')
-rw-r--r--test/Other/2003-02-19-LoopInfoNestingBug.ll3
-rw-r--r--test/Other/dg.exp4
2 files changed, 4 insertions, 3 deletions
diff --git a/test/Other/2003-02-19-LoopInfoNestingBug.ll b/test/Other/2003-02-19-LoopInfoNestingBug.ll
index bf71f5f..ebad6ba 100644
--- a/test/Other/2003-02-19-LoopInfoNestingBug.ll
+++ b/test/Other/2003-02-19-LoopInfoNestingBug.ll
@@ -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
diff --git a/test/Other/dg.exp b/test/Other/dg.exp
index ff34508..879685c 100644
--- a/test/Other/dg.exp
+++ b/test/Other/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}]]