summaryrefslogtreecommitdiffstats
path: root/test/MC/AsmParser/directive_space.s
diff options
context:
space:
mode:
Diffstat (limited to 'test/MC/AsmParser/directive_space.s')
-rw-r--r--test/MC/AsmParser/directive_space.s11
1 files changed, 6 insertions, 5 deletions
diff --git a/test/MC/AsmParser/directive_space.s b/test/MC/AsmParser/directive_space.s
index 6159775..a897654 100644
--- a/test/MC/AsmParser/directive_space.s
+++ b/test/MC/AsmParser/directive_space.s
@@ -1,11 +1,12 @@
-# RUN: llvm-mc %s > %t
+# RUN: llvm-mc -triple i386-unknown-unknown %s | FileCheck %s
-# RUN: grep -A 2 TEST0 %t > %t2
-# RUN: grep ".byte 0" %t2 | count 1
+# CHECK: TEST0:
+# CHECK: .byte 0
TEST0:
.space 1
-# RUN: grep -A 3 TEST1 %t > %t2
-# RUN: grep ".byte 3" %t2 | count 2
+# CHECK: TEST1:
+# CHECK: .byte 3
+# CHECK: .byte 3
TEST1:
.space 2, 3
OpenPOWER on IntegriCloud