Convert tests using "| wc -l | grep ..." to use the count script.
[oota-llvm.git] / test / CodeGen / ARM / str_post.ll
index a388f54d67a0664fcf750a15bacb7aec317fd7df..1dc4155c646b531e09be01707ffdf159809edf15 100644 (file)
@@ -1,7 +1,7 @@
 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | \
-; RUN:   grep {strh .*\\\[.*\], #-4}  | wc -l | grep 1
+; RUN:   grep {strh .*\\\[.*\], #-4} | count 1
 ; RUN: llvm-upgrade < %s | llvm-as | llc -march=arm | \
-; RUN:   grep {str .*\\\[.*\],}  | wc -l | grep 1
+; RUN:   grep {str .*\\\[.*\],} | count 1
 
 short %test1(int *%X, short *%A) {
         %Y = load int* %X