Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH 0/1] Minor patch to buildstats
@ 2011-08-17 11:38 Beth Flanagan
  2011-08-17 11:38 ` [PATCH 1/1] buildstats.bbclass: Fixing task endtime Beth Flanagan
  0 siblings, 1 reply; 3+ messages in thread
From: Beth Flanagan @ 2011-08-17 11:38 UTC (permalink / raw)
  To: openembedded-core

Task endtime got left out of recent changes. Adding it back in and removing
a superfluous line of whitespace.

The following changes since commit a21ff559e7c93e9da61104f4a33e42e6004189fd:

  Fixup remaining bb.msg.domain users (2011-08-15 17:31:52 +0100)

are available in the git repository at:
  ssh://git@git.yoctoproject.org/poky-contrib eflanagan/disk_io_stats

Beth Flanagan (1):
      buildstats.bbclass: Fixing task endtime

 meta/classes/buildstats.bbclass |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

Beth Flanagan (1):
  buildstats.bbclass: Fixing task endtime

 meta/classes/buildstats.bbclass |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)




^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] buildstats.bbclass: Fixing task endtime
  2011-08-17 11:38 [PATCH 0/1] Minor patch to buildstats Beth Flanagan
@ 2011-08-17 11:38 ` Beth Flanagan
  2011-08-17 14:23   ` Richard Purdie
  0 siblings, 1 reply; 3+ messages in thread
From: Beth Flanagan @ 2011-08-17 11:38 UTC (permalink / raw)
  To: openembedded-core

Task endtime got left out of recent changes. Adding it back in.

Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
---
 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
-- 
1.7.1




^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/1] buildstats.bbclass: Fixing task endtime
  2011-08-17 11:38 ` [PATCH 1/1] buildstats.bbclass: Fixing task endtime Beth Flanagan
@ 2011-08-17 14:23   ` Richard Purdie
  0 siblings, 0 replies; 3+ messages in thread
From: Richard Purdie @ 2011-08-17 14:23 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, 2011-08-17 at 04:38 -0700, Beth Flanagan wrote:
> Task endtime got left out of recent changes. Adding it back in.
> 
> Signed-off-by: Beth Flanagan <elizabeth.flanagan@intel.com>
> ---
>  meta/classes/buildstats.bbclass |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)

Merged to master, thanks.

Richard




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-08-17 14:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-08-17 11:38 [PATCH 0/1] Minor patch to buildstats Beth Flanagan
2011-08-17 11:38 ` [PATCH 1/1] buildstats.bbclass: Fixing task endtime Beth Flanagan
2011-08-17 14:23   ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox