diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-08 20:40:54 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-08 20:40:54 +0000 |
commit | 648f9970aeab8ba8ec2e149a4ed67145a80785ac (patch) | |
tree | 3aa6f00c21aea05b41c5ccebeb6e01b4e15cb259 /test | |
parent | 2ed334694fb39332eddef21f6bc7af9bb21aa200 (diff) | |
download | external_llvm-648f9970aeab8ba8ec2e149a4ed67145a80785ac.zip external_llvm-648f9970aeab8ba8ec2e149a4ed67145a80785ac.tar.gz external_llvm-648f9970aeab8ba8ec2e149a4ed67145a80785ac.tar.bz2 |
convert to FileCheck style.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75038 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test')
-rw-r--r-- | test/MC/AsmParser/directive_ascii.s | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/test/MC/AsmParser/directive_ascii.s b/test/MC/AsmParser/directive_ascii.s index 95e194a..9f21e8c 100644 --- a/test/MC/AsmParser/directive_ascii.s +++ b/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" |