diff options
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/buildstats.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/buildstats.bbclass b/meta/classes/buildstats.bbclass index 939e3af..55cbb3c 100644 --- a/meta/classes/buildstats.bbclass +++ b/meta/classes/buildstats.bbclass @@ -138,9 +138,10 @@ def write_task_data(status, logfile, dev, e): for key in sorted(diskdata.iterkeys()): file.write(key + ": " + diskdata[key] + "\n") if status is "passed": - file.write("Status: PASSED") + file.write("Status: PASSED \n") else: - file.write("Status: FAILED") + file.write("Status: FAILED \n") + file.write("Ended: %0.2f \n" % time.time()) file.close() python run_buildstats () { @@ -149,7 +150,6 @@ python run_buildstats () { import bb.data import time, subprocess, platform - if isinstance(e, bb.event.BuildStarted): ######################################################################## # at first pass make the buildstats heriarchy and then |