Convert tests using "| wc -l | grep ..." to use the count script.
[oota-llvm.git] / test / Transforms / LowerSwitch / feature.ll
index 0b3cdc780fb9af4ab97f5ca2f0fda9ddda0f2b5a..7523ad235b6dde387ef17370360955e27b61bd8c 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: llvm-as %s -o - | opt -lowerswitch | llvm-dis > %t
-; RUN: grep slt %t | wc -l | grep 10
-; RUN: grep ule %t | wc -l | grep 3
-; RUN: grep eq  %t | wc -l | grep 9
+; RUN: grep slt %t | count 10
+; RUN: grep ule %t | count 3
+; RUN: grep eq  %t | count 9
 
 define i32 @main(i32 %tmp158) {
 entry: