From 6304ca7c1f92871cf24b361e91721e1b7f3367af Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Mon, 1 Mar 2010 18:16:29 -0500 Subject: [PATCH] Unit Tests - run_all - Added better formatting of the results. - Added a count of the skipped tests. --- src/tests/run_all | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/tests/run_all b/src/tests/run_all index 4d471513b..7caf4b2d7 100755 --- a/src/tests/run_all +++ b/src/tests/run_all @@ -26,9 +26,7 @@ esac RUNTIME=$(($ENDEPOCH - $STARTEPOCH)) -echo -n 'Pass: ' -grep ^ok all.log | wc -l -echo -n 'Fail: ' -grep ^not all.log | wc -l -echo -n 'Runtime: ' -echo $RUNTIME +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 "Runtime: %5d\n" $RUNTIME