svn commit: r51074 - head/share/tools
Wolfram Schneider
wosch at FreeBSD.org
Sat Oct 7 09:07:30 UTC 2017
Author: wosch
Date: Sat Oct 7 09:07:28 2017
New Revision: 51074
URL: https://svnweb.freebsd.org/changeset/doc/51074
Log:
log full run time
Modified:
head/share/tools/webupdate-regression
Modified: head/share/tools/webupdate-regression
==============================================================================
--- head/share/tools/webupdate-regression Sat Oct 7 09:06:45 2017 (r51073)
+++ head/share/tools/webupdate-regression Sat Oct 7 09:07:28 2017 (r51074)
@@ -1,5 +1,5 @@
#!/bin/sh
-# Copyright (c) 2017 Wolfram Schneider <wosch at FreeBSD.org>
+# Copyright (c) 2017-2017 Wolfram Schneider <wosch at FreeBSD.org>
#
# regression test of the build of www.freebsd.org
# Based on git
@@ -49,13 +49,14 @@ export NO_OBJ
export FORMATS
buildstart=""
+buildstart_script="$(date +%s)"
log () {
file=$1
buildstop="$(date +%s)"
build_sec=$(($buildstop - $buildstart))
- echo " ... done in $build_sec seconds"
+ echo " ($build_sec sec)"
}
# global build start
@@ -264,6 +265,10 @@ else
echo ""
echo "Please cleanup: rm -rf $dir"
fi
+
+# full run time
+buildstart=$buildstart_script
+log
exit 0
More information about the svn-doc-all
mailing list