svn commit: r51074 - head/share/tools

Wolfram Schneider <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
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 <[email protected]>
+# Copyright (c) 2017-2017 Wolfram Schneider <[email protected]>
 #
 # 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
 
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.