diff options
author | Beth Flanagan <elizabeth.flanagan@intel.com> | 2011-08-17 04:38:54 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-08-17 15:22:51 +0100 |
commit | f1e4b049438218347922f13de810782be0205c3d (patch) | |
tree | e1650d83b607419071194ee657db261eae83728a /meta/classes/buildstats.bbclass | |
parent | 4024bf2874e9da4fd0dd9a2b90a48e8a259781cc (diff) | |
download | openembedded-core-f1e4b049438218347922f13de810782be0205c3d.tar.gz openembedded-core-f1e4b049438218347922f13de810782be0205c3d.tar.bz2 openembedded-core-f1e4b049438218347922f13de810782be0205c3d.tar.xz openembedded-core-f1e4b049438218347922f13de810782be0205c3d.zip |
buildstats.bbclass: Fixing task endtime
Task endtime got left out of recent changes. Adding it back in.
Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/buildstats.bbclass')
-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 939e3af60..55cbb3cee 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 |