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