[gs-cvs] rev 7541 - trunk/gs/toolbin/tests

giles at ghostscript.com giles at ghostscript.com
Sat Dec 30 14:58:47 PST 2006


Author: giles
Date: 2006-12-30 14:58:47 -0800 (Sat, 30 Dec 2006)
New Revision: 7541

Modified:
   trunk/gs/toolbin/tests/run_nightly
Log:
Record the regression run time in the nightly report.


Modified: trunk/gs/toolbin/tests/run_nightly
===================================================================
--- trunk/gs/toolbin/tests/run_nightly	2006-12-30 13:31:18 UTC (rev 7540)
+++ trunk/gs/toolbin/tests/run_nightly	2006-12-30 22:58:47 UTC (rev 7541)
@@ -29,8 +29,9 @@
 
 # configuration variables
 
-YESTERDAY = time.strftime("%Y%m%d", time.localtime(time.time() - (24*60*60)))
-YESTERDAY_CTIME = time.ctime(time.time() - (24*60*60))
+NOW = time.time()
+YESTERDAY = time.strftime("%Y%m%d", time.localtime(NOW - (24*60*60)))
+YESTERDAY_CTIME = time.ctime(NOW - (24*60*60))
 
 def change_gsproduct(file):
     tmpfile = "%s.tmp" % (file,)
@@ -264,6 +265,7 @@
 # Prepend checkout times
 times = "SVN checkout for this report started at " + time.strftime("%a, %d %b %Y %H:%M:%S %Z", time.localtime(starttime)) + "\n"
 times += "SVN checkout ended at " + time.strftime("%a, %d %b %Y %H:%M:%S %Z", time.localtime(endtime)) + "\n"
+times += "complete regression run took %.0f seconds.\n" % (time.time()-NOW)
 times += "Testing revision " + revision + "\n"
 times += "\n"
 



More information about the gs-cvs mailing list