[Commits] (heikki) Do not append hardhat.log to log - it is done by the actual build script when needed. This fixes the case where build failed (and we did not run tests), but we append the test report from the last cycle.

commits at osafoundation.org commits at osafoundation.org
Thu Aug 26 13:29:05 PDT 2004


Commit by: heikki
Modified files:
hardhat/tinderbox.py 1.14 1.15

Log message:
Do not append hardhat.log to log - it is done by the actual build script when needed. This fixes the case where build failed (and we did not run tests), but we append the test report from the last cycle.

ViewCVS links:
http://cvs.osafoundation.org/index.cgi/hardhat/tinderbox.py.diff?r1=text&tr1=1.14&r2=text&tr2=1.15

Index: hardhat/tinderbox.py
diff -u hardhat/tinderbox.py:1.14 hardhat/tinderbox.py:1.15
--- hardhat/tinderbox.py:1.14	Thu Aug 26 10:27:44 2004
+++ hardhat/tinderbox.py	Thu Aug 26 13:29:04 2004
@@ -111,9 +111,6 @@
         log = open(logFile, "r")
         logContents = log.read()
         log.close()
-        log = open(HHlogFile, "r")
-        logContents += log.read()
-        log.close()
         SendMail(fromAddr, alertAddr, startTime, buildName, "The build failed", 
          treeName, logContents)
         SendMail(fromAddr, mailtoAddr, startTime, buildName, status, 
@@ -130,9 +127,6 @@
         log = open(logFile, "r")
         logContents = log.read()
         log.close()
-        log = open(HHlogFile, "r")
-        logContents += log.read()
-        log.close()
         SendMail(fromAddr, alertAddr, startTime, buildName, "The build failed", 
          treeName, logContents)
         SendMail(fromAddr, mailtoAddr, startTime, buildName, status, 



More information about the Commits mailing list