[llvm-commits] [llvm] r75038 - /llvm/trunk/test/MC/AsmParser/directive_ascii.s

Chris Lattner sabre at nondot.org
Wed Jul 8 13:41:11 PDT 2009


Author: lattner
Date: Wed Jul  8 15:40:54 2009
New Revision: 75038

URL: http://llvm.org/viewvc/llvm-project?rev=75038&view=rev
Log:
convert to FileCheck style.

Modified:
    llvm/trunk/test/MC/AsmParser/directive_ascii.s

Modified: llvm/trunk/test/MC/AsmParser/directive_ascii.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/AsmParser/directive_ascii.s?rev=75038&r1=75037&r2=75038&view=diff

==============================================================================
--- llvm/trunk/test/MC/AsmParser/directive_ascii.s (original)
+++ llvm/trunk/test/MC/AsmParser/directive_ascii.s Wed Jul  8 15:40:54 2009
@@ -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"
 





More information about the llvm-commits mailing list