Filecheck-ize.
authorEric Christopher <echristo@apple.com>
Thu, 23 Aug 2012 07:10:51 +0000 (07:10 +0000)
committerEric Christopher <echristo@apple.com>
Thu, 23 Aug 2012 07:10:51 +0000 (07:10 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@162433 91177308-0d34-0410-b5e6-96231b3b80d8

test/DebugInfo/2010-04-13-PubType.ll

index db7bb0ad60302d9bc55df8d7d8af693be176bc43..19bfae4113a5fb9fdd3b02cd01d9bf3a49e285b1 100644 (file)
@@ -1,6 +1,6 @@
-; RUN: llc -O0 -asm-verbose < %s > %t
-; RUN: grep "External Name" %t | grep -v X
-; RUN: grep "External Name" %t | grep Y | count 1
+; RUN: llc -O0 -asm-verbose < %s | FileCheck %s
+; CHECK-NOT: .asciz "X" ## External Name
+; CHECK: .asciz "Y" ## External Name
 ; Test to check type with no definition is listed in pubtypes section.
 %struct.X = type opaque
 %struct.Y = type { i32 }