diff options
author | Chris Lattner <sabre@nondot.org> | 2009-07-08 20:50:34 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-07-08 20:50:34 +0000 |
commit | 096e7280c2abceb4dcc119677c31a2055bc8ccde (patch) | |
tree | db412973e0b3a18c94b6340b1ef0d461e64f2b6f /test/MC/AsmParser/directive_fill.s | |
parent | 648f9970aeab8ba8ec2e149a4ed67145a80785ac (diff) | |
download | llvm-096e7280c2abceb4dcc119677c31a2055bc8ccde.tar.gz llvm-096e7280c2abceb4dcc119677c31a2055bc8ccde.tar.bz2 llvm-096e7280c2abceb4dcc119677c31a2055bc8ccde.tar.xz |
Switch all the MC tests to use FileCheck.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75039 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/MC/AsmParser/directive_fill.s')
-rw-r--r-- | test/MC/AsmParser/directive_fill.s | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/test/MC/AsmParser/directive_fill.s b/test/MC/AsmParser/directive_fill.s index ec8bdf27c7..1a43dbc8f4 100644 --- a/test/MC/AsmParser/directive_fill.s +++ b/test/MC/AsmParser/directive_fill.s @@ -1,11 +1,12 @@ -# RUN: llvm-mc %s > %t +# RUN: llvm-mc %s | FileCheck %s -# RUN: grep -A 2 TEST0 %t > %t2 -# RUN: grep ".byte 10" %t2 | count 1 +# CHECK: TEST0: +# CHECK: .byte 10 TEST0: .fill 1, 1, 10 -# RUN: grep -A 3 TEST1 %t > %t2 -# RUN: grep ".short 3" %t2 | count 2 +# CHECK: TEST1: +# CHECK: .short 3 +# CHECK: .short 3 TEST1: .fill 2, 2, 3 |