mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-01-27 00:33:34 +00:00
Display the number of tests also at the end of the regression run.
This commit is contained in:
parent
8a6c502d9b
commit
bf73dc26e7
@ -71,6 +71,7 @@ psql -q -f "../dba/sample-data.sql" "${DBNAME}" >"${RESULTS}/${TEST}" 2>&1
|
||||
check_result "${TEST}"
|
||||
|
||||
TSTART="`date +%s`"
|
||||
TCOUNT=0
|
||||
|
||||
for T in ${REGRESSION}/*.test ; do
|
||||
TEST="`basename ${T} .test`"
|
||||
@ -83,7 +84,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