From 542f1e0f82d30e0a07fbf89e7a1833227a9a5469 Mon Sep 17 00:00:00 2001 From: Louis-Claude Canon Date: Tue, 22 May 2012 17:05:38 +0200 Subject: [PATCH] Code Cleanup - Clearer commands for sumarizing the test results. --- test/run_all | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/test/run_all b/test/run_all index 0cb71a8a5..ee19fe2e8 100755 --- a/test/run_all +++ b/test/run_all @@ -33,7 +33,7 @@ ENDEPOCH=`perl -e 'print time'` RUNTIME=$(($ENDEPOCH - $STARTEPOCH)) -printf "Pass: %5d\n" $(grep ^ok all.log | wc -l) -printf "Fail: %5d\n" $(grep ^not all.log | wc -l) -printf "Skipped: %5d\n" $(grep ^skip all.log | wc -l) +printf "Pass: %5d\n" $(grep -c ^ok all.log) +printf "Fail: %5d\n" $(grep -c ^not all.log) +printf "Skipped: %5d\n" $(grep -c ^skip all.log) printf "Runtime: %5d seconds\n" $RUNTIME