This test used "wc | grep ..."; convert it to use the count script.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@41101 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Dan Gohman 2007-08-15 13:55:47 +00:00
parent 43c3db37f6
commit 64d8e1b9a7

View File

@ -1,11 +1,11 @@
; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | \
; RUN: grep align.*1 | wc | grep 1
; RUN: grep align.*1 | count 1
; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-linux-gnueabi | \
; RUN: grep align.*2 | wc | grep 2
; RUN: grep align.*2 | count 2
; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-linux-gnueabi | \
; RUN: grep align.*3 | wc | grep 2
; RUN: grep align.*3 | count 2
; RUN: llvm-upgrade < %s | llvm-as | llc -mtriple=arm-apple-darwin | \
; RUN: grep align.*2 | wc | grep 4
; RUN: grep align.*2 | count 4
%a = global bool true
%b = global sbyte 1