exactness: Refined error-summery messages

Signed-off-by: Aharon Hillel <a.hillel@partner.samsung.com>

SVN revision: 66370
This commit is contained in:
Aharon Hillel 2011-12-20 08:54:49 +00:00 committed by Tom Hacohen
parent 111c5f2259
commit 21b1c61796
1 changed files with 9 additions and 2 deletions

View File

@ -198,8 +198,8 @@ else
fi
echo "Processed \$ncomp comparisons"
echo "with \$nfail file that did not match"
echo "and \$nerr errors"
echo "with \$nfail diff errors"
echo "\$nerr rec-files were not found"
return 0
}
@ -348,6 +348,13 @@ then
fi
fi
# Add up total-error and emit user message.
total_errors=\$(( \$nfail + \$nerr + \$_n_tests_failed ))
if [ "\$total_errors" -ne 0 ]
then
echo "\$0 finished with \$total_errors errors."
fi
status=0
# Compute exit code
if [ "\$nfail" -ne 0 ]