[bitbake-devel] [PATCH 10/94] bitbake: webhob: use buildcompleted event as the end of a build operation

Alex DAMIAN alexandru.damian at intel.com
Tue Sep 24 16:51:39 UTC 2013


From: Calin Dragomir <calinx.l.dragomir at intel.com>

The BuildCompleted event marks the end of a build, so the code will
use this timestamp for computing the duration of a build operation.

Signed-off-by: Calin Dragomir <calinx.l.dragomir at intel.com>
Signed-off-by: Alexandru DAMIAN <alexandru.damian at intel.com>
---
 bitbake/lib/bb/ui/dsi.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/bitbake/lib/bb/ui/dsi.py b/bitbake/lib/bb/ui/dsi.py
index 54364ce..d5fe733 100644
--- a/bitbake/lib/bb/ui/dsi.py
+++ b/bitbake/lib/bb/ui/dsi.py
@@ -448,7 +448,7 @@ def main(server, eventHandler, params, tf = TerminalFilter):
                              event.taskid, event.taskstring, event.exitcode)
                 continue
 
-            if isinstance(event, (bb.command.CommandFailed, bb.command.CommandExit, bb.command.CommandCompleted, bb.cooker.CookerExit)):
+            if isinstance(event, bb.event.BuildCompleted):
                 buildinfohelper.update_build_information(event, errors, warnings, taskfailures)
                 main.shutdown = 2
 
-- 
1.8.1.2




More information about the bitbake-devel mailing list