summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-07-08 20:40:54 +0000
committerChris Lattner <sabre@nondot.org>2009-07-08 20:40:54 +0000
commit3ffc901c6aaa5478efb9ec2685cec683bdbd531c (patch)
tree2d148ff060d00320af012e909355e2c2077dd48a /llvm
parent1d298fd75b60ae08073bff8eb1f5106067fc75c7 (diff)
downloadbcm5719-llvm-3ffc901c6aaa5478efb9ec2685cec683bdbd531c.tar.gz
bcm5719-llvm-3ffc901c6aaa5478efb9ec2685cec683bdbd531c.zip
convert to FileCheck style.
llvm-svn: 75038
Diffstat (limited to 'llvm')
-rw-r--r--llvm/test/MC/AsmParser/directive_ascii.s21
1 files changed, 10 insertions, 11 deletions
diff --git a/llvm/test/MC/AsmParser/directive_ascii.s b/llvm/test/MC/AsmParser/directive_ascii.s
index 95e194a3768..9f21e8cee35 100644
--- a/llvm/test/MC/AsmParser/directive_ascii.s
+++ b/llvm/test/MC/AsmParser/directive_ascii.s
@@ -1,24 +1,23 @@
-# RUN: llvm-mc %s > %t
+# RUN: llvm-mc %s | FileCheck %s
-# RUN: grep -A 1 TEST0 %t > %t2
-# RUN: not grep ".byte" %t2
+# CHECK: TEST0:
TEST0:
.ascii
-# RUN: grep -A 1 TEST1 %t > %t2
-# RUN: not grep "byte" %t2
+# CHECK: TEST1:
TEST1:
.asciz
-# RUN: grep -A 2 TEST2 %t > %t2
-# RUN: grep ".byte 65" %t2 | count 1
+# CHECK: TEST2:
+# CHECK: .byte 65
TEST2:
.ascii "A"
-# RUN: grep -A 5 TEST3 %t > %t2
-# RUN: grep ".byte 66" %t2 | count 1
-# RUN: grep ".byte 67" %t2 | count 1
-# RUN: grep ".byte 0" %t2 | count 2
+# CHECK: TEST3:
+# CHECK: .byte 66
+# CHECK: .byte 0
+# CHECK: .byte 67
+# CHECK: .byte 0
TEST3:
.asciz "B", "C"
OpenPOWER on IntegriCloud