mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-02-15 03:44:24 +00:00
Display the number of tests also at the end of the regression run.
This commit is contained in:
parent
46966225ad
commit
867dd9a181
@ -73,6 +73,7 @@ check_result "${TEST}"
|
||||
# psql -q -f "../dba/patches/1.1.12.sql" "${DBNAME}"
|
||||
|
||||
TSTART="`date +%s`"
|
||||
TCOUNT=0
|
||||
|
||||
for T in ${REGRESSION}/*.test ; do
|
||||
TEST="`basename ${T} .test`"
|
||||
@ -85,7 +86,8 @@ for T in ${REGRESSION}/*.test ; do
|
||||
|
||||
check_result "${TEST}"
|
||||
|
||||
TCOUNT=$(( ${TCOUNT} + 1 ))
|
||||
done
|
||||
TFINISH="`date +%s`"
|
||||
|
||||
echo "Regression test run took $(( ${TFINISH} - ${TSTART} )) seconds."
|
||||
echo "Regression test run took $(( ${TFINISH} - ${TSTART} )) seconds for ${TCOUNT} tests."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user