Fixed info message.
This commit is contained in:
parent
110ae5c4a7
commit
2a31033738
|
@ -170,7 +170,7 @@ do_simulation () {
|
|||
}
|
||||
|
||||
do_play () {
|
||||
# This will play record for all test if '-a' specified.
|
||||
# This will play record for all test if specified.
|
||||
# or play record of tests specified as parameter.
|
||||
# run ALL tests to record
|
||||
DEBUG echo base dir: "$_base_dir"
|
||||
|
@ -278,7 +278,7 @@ do_compare () {
|
|||
|
||||
if [ -z "$_dest_dir" ]
|
||||
then
|
||||
printf "For comparing, Usage: %s -c -a -d DirName\nor\n%s -c -d DirName TestName1, TestName2,...\n" $(basename $0) $(basename $0) >&2
|
||||
printf "For comparing, Usage: %s -p -d DirName\nor\n%s -c -d DirName TestName1, TestName2,...\n" $(basename $0) $(basename $0) >&2
|
||||
fi
|
||||
|
||||
if [ "$_dest_dir" = "$_orig_dir" ]
|
||||
|
@ -297,12 +297,12 @@ do_compare () {
|
|||
|
||||
if [ "$ncomp" -ne 0 ]
|
||||
then
|
||||
echo "Processed $ncomp comparisons"
|
||||
echo "Compared $ncomp images."
|
||||
fi
|
||||
|
||||
if [ "$nfail" -ne 0 ]
|
||||
then
|
||||
echo "with $nfail diff errors"
|
||||
echo "Tests with render regressions: $nfail."
|
||||
fi
|
||||
|
||||
if [ "$nerr" -ne 0 ]
|
||||
|
@ -575,8 +575,8 @@ fi
|
|||
|
||||
# Add up total-error and emit user message.
|
||||
total_errors=$(( $nfail + $nerr + $_n_tests_failed + $_n_exe_err ))
|
||||
echo "$_n_exe_err tests returned exit-code <> 0"
|
||||
echo "$0 finished with $total_errors errors."
|
||||
echo "Tests that ended with non-zero exit code: $_n_exe_err."
|
||||
echo "Total errors: $total_errors."
|
||||
|
||||
status=0
|
||||
# Compute exit code
|
||||
|
|
Loading…
Reference in New Issue