summaryrefslogtreecommitdiffstats
path: root/meta/classes/buildstats.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/buildstats.bbclass')
-rw-r--r--meta/classes/buildstats.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/buildstats.bbclass b/meta/classes/buildstats.bbclass
index 939e3af603..55cbb3cee3 100644
--- a/meta/classes/buildstats.bbclass
+++ b/meta/classes/buildstats.bbclass
@@ -138,9 +138,10 @@ def write_task_data(status, logfile, dev, e):
138 for key in sorted(diskdata.iterkeys()): 138 for key in sorted(diskdata.iterkeys()):
139 file.write(key + ": " + diskdata[key] + "\n") 139 file.write(key + ": " + diskdata[key] + "\n")
140 if status is "passed": 140 if status is "passed":
141 file.write("Status: PASSED") 141 file.write("Status: PASSED \n")
142 else: 142 else:
143 file.write("Status: FAILED") 143 file.write("Status: FAILED \n")
144 file.write("Ended: %0.2f \n" % time.time())
144 file.close() 145 file.close()
145 146
146python run_buildstats () { 147python run_buildstats () {
@@ -149,7 +150,6 @@ python run_buildstats () {
149 import bb.data 150 import bb.data
150 import time, subprocess, platform 151 import time, subprocess, platform
151 152
152
153 if isinstance(e, bb.event.BuildStarted): 153 if isinstance(e, bb.event.BuildStarted):
154 ######################################################################## 154 ########################################################################
155 # at first pass make the buildstats heriarchy and then 155 # at first pass make the buildstats heriarchy and then