mirror of
https://gitlab.com/davical-project/davical.git
synced 2026-05-28 03:04:15 +00:00
Show the duration of the regression test run.
This commit is contained in:
parent
b317369e9c
commit
4cf4e841b6
@ -70,6 +70,10 @@ TEST="Load-Sample-Data"
|
||||
psql -q -f "../dba/sample-data.sql" "${DBNAME}" >"${RESULTS}/${TEST}" 2>&1
|
||||
check_result "${TEST}"
|
||||
|
||||
# psql -q -f "../dba/patches/1.1.12.sql" "${DBNAME}"
|
||||
|
||||
TSTART="`date +%s`"
|
||||
|
||||
for T in ${REGRESSION}/*.test ; do
|
||||
TEST="`basename ${T} .test`"
|
||||
TESTNUM="`echo ${TEST} | cut -f1 -d'-'`"
|
||||
@ -82,3 +86,6 @@ for T in ${REGRESSION}/*.test ; do
|
||||
check_result "${TEST}"
|
||||
|
||||
done
|
||||
TFINISH="`date +%s`"
|
||||
|
||||
echo "Regression test run took $(( ${TFINISH} - ${TSTART} )) seconds."
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user