For PR1319: Upgrade to use new test harness
authorReid Spencer <rspencer@reidspencer.com>
Sun, 15 Apr 2007 19:21:54 +0000 (19:21 +0000)
committerReid Spencer <rspencer@reidspencer.com>
Sun, 15 Apr 2007 19:21:54 +0000 (19:21 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@36077 91177308-0d34-0410-b5e6-96231b3b80d8

test/CodeGen/CBackend/2005-07-14-NegationToMinusMinus.ll
test/CodeGen/CBackend/2005-09-27-VolatileFuncPtr.ll
test/CodeGen/CBackend/2006-12-11-Float-Bitcast.ll
test/CodeGen/CBackend/2007-01-08-ParamAttr-ICmp.ll
test/CodeGen/CBackend/2007-01-15-NamedArrayType.ll
test/CodeGen/CBackend/2007-02-23-NameConflicts.ll
test/CodeGen/CBackend/dg.exp

index 0411fb6a79d61087c0ea08929e9eb897a59f6491..6be1a66c18afd68e8f569f3670e2bc031c54ba9a 100644 (file)
@@ -1,4 +1,4 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | not grep "\-\-65535"
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | not grep -- -65535
 ; ModuleID = '<stdin>'
 target endian = little
 target pointersize = 32
index a29c20b13a79f96baaea966211e32911c8686f45..32a7088984f04e4297c67a3ec0c987d8f270a7b4 100644 (file)
@@ -1,5 +1,4 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=c &&
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | grep '\* *volatile *\*'
+; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | grep {\\* *volatile *\\*}
 
 %G = external global void()*
 
index bf846545c9c51c515438c7705d767d406cd2fc67..5c6babfafe9563358292c766e6691de84d9b2e98 100644 (file)
@@ -1,6 +1,5 @@
-; RUN: llvm-upgrade < %s | llvm-as | llc -march=c &&
 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=c | \
-; RUN:  grep '__BITCAST' | wc -l | grep 14
+; RUN:   grep __BITCAST | wc -l | grep 14
 
 int %test1(float %F) {
    %X = bitcast float %F to int
index c73fa1fcdc9505b285e2ce291a077e79074786a3..359feba0c894093151566c50ba180e6c2bf017ad 100644 (file)
@@ -1,6 +1,6 @@
 ; For PR1099
 ; RUN: llvm-as < %s | llc -march=c | \
-; RUN:   grep 'return ((((llvm_cbe_tmp2 == llvm_cbe_b_0_0_val)) ? (1) : (0)))'
+; RUN:   grep {return ((((llvm_cbe_tmp2 == llvm_cbe_b_0_0_val)) ? (1) : (0)))}
 
 target datalayout = "e-p:32:32"
 target triple = "i686-apple-darwin8"
index e083e5cc1151a569d03940614eccbfad7564c3a6..a9eeff3bffda005987416b6f3b3ffa32c4ca3000 100644 (file)
@@ -1,10 +1,10 @@
-; RUN: llvm-as < %s | llc -march=c | not grep fixarray_array3
 ; PR918
+; RUN: llvm-as < %s | llc -march=c | not grep fixarray_array3
 
 %structtype_s = type { i32 }
 %fixarray_array3 = type [3 x %structtype_s]
 
-define i32 %witness(%fixarray_array3* %p) {
+define i32 @witness(%fixarray_array3* %p) {
     %q = getelementptr %fixarray_array3* %p, i32 0, i32 0, i32 0
     %v = load i32* %q
     ret i32 %v
index 2e4cbf6f829b5d6c1986d21d9169bb50e59ee7b4..2bc4d516808cda6f00a9d573ef359761d3b23cef 100644 (file)
@@ -1,7 +1,7 @@
-; RUN: llvm-as < %s | llc -march=c | grep 'llvm_cbe_A = \*llvm_cbe_G;' &&
-; RUN: llvm-as < %s | llc -march=c | grep 'llvm_cbe_B = \*(&ltmp_0_1);' &&
-; RUN: llvm-as < %s | llc -march=c | grep 'return (llvm_cbe_A + llvm_cbe_B);'
 ; PR1164
+; RUN: llvm-as < %s | llc -march=c | grep {llvm_cbe_A = \\*llvm_cbe_G;}
+; RUN: llvm-as < %s | llc -march=c | grep {llvm_cbe_B = \\*(&ltmp_0_1);}
+; RUN: llvm-as < %s | llc -march=c | grep {return (llvm_cbe_A + llvm_cbe_B);}
 @G = global i32 123
 @ltmp_0_1 = global i32 123
 
index ff34508c3c64c167429097e1c896dd65daaff278..879685ca879df60056ae48bf4411e0df73b77dc5 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}]]
+RunLLVMTests [lsort [glob -nocomplain $srcdir/$subdir/*.{ll,llx,c,cpp,tr}]]