diff --git a/testing/do-tests b/testing/do-tests
index 01a4f2382..f9be8a1b4 100755
--- a/testing/do-tests
+++ b/testing/do-tests
@@ -131,7 +131,7 @@ ENVIRONMENT_HEADER=$(cat <<@EOF
| |
|
- |
+ |
|
@EOF
@@ -159,7 +159,8 @@ cat > $TESTRESULTSHTML <<@EOF
| Number |
Test |
- Result |
+ Time [s] |
+ Result |
@EOF
@@ -249,6 +250,8 @@ do
testname=$SUBDIR/$name
log_action " $testnumber $testname:"
+ teststart=$(date +%s)
+
if [ ! -d $DEFAULTTESTSDIR/${testname} ]
then
echo "is missing..skipped"
@@ -782,6 +785,9 @@ do
##########################################################################
# write test status to html file
#
+ testend=$(date +%s)
+ let "testend -= teststart"
+ let "timetotal += testend"
if [ $STATUS = "passed" ]
then
@@ -796,8 +802,8 @@ do
| $testnumber |
$testname |
+ $testend |
$STATUS |
- |
@EOF
cat >> $SUBTESTSINDEX << @EOF
@@ -839,6 +845,9 @@ cat >> $TESTRESULTSHTML << @EOF
| Failed | $failed_cnt | | |
+
+ | Time [s] | $timetotal | | |
+