Convert tests using "grep -c ... | grep ..." to use the count script.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41100 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman
2007-08-15 13:49:33 +00:00
parent e5ab8c6765
commit 43c3db37f6
10 changed files with 15 additions and 15 deletions

View File

@@ -1,7 +1,7 @@
; RUN: llvm-upgrade < %s | llvm-as | \
; RUN: opt -predsimplify -instcombine -simplifycfg | llvm-dis > %t
; RUN: grep -v declare %t | not grep fail
; RUN: grep -v declare %t | grep -c pass | grep 4
; RUN: grep -v declare %t | grep pass | count 4
void %test1(int %x) {
entry: