[yocto] [[yocto-autobuilder][PATCHv2] 09/15] autobuilder/lib/buildsteps.py: BitbakeShellCommand update error report types.

Aníbal Limón anibal.limon at linux.intel.com
Tue Jun 21 16:07:46 PDT 2016


The error report type values changed so update it to match the new
ones.

Signed-off-by: Aníbal Limón <anibal.limon at linux.intel.com>
---
 lib/python2.7/site-packages/autobuilder/lib/buildsteps.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/python2.7/site-packages/autobuilder/lib/buildsteps.py b/lib/python2.7/site-packages/autobuilder/lib/buildsteps.py
index 0977518..c290218 100644
--- a/lib/python2.7/site-packages/autobuilder/lib/buildsteps.py
+++ b/lib/python2.7/site-packages/autobuilder/lib/buildsteps.py
@@ -127,10 +127,10 @@ class BitbakeShellCommand(ShellCommand):
         failure = {}
         failure['package'] = "bitbake-%s" % vrs['BB_VERSION']
         if 'bitbake-selftest' in self.command:
-            report['error_type'] = 'B'
+            report['error_type'] = 'bitbake-selftest'
             failure['task'] = self.command[self.command.find('bitbake-selftest'):]
         else:
-            report['error_type'] = 'C'
+            report['error_type'] = 'core'
             failure['task'] = self.command[self.command.find('bitbake'):]
 
         failure['log'] = "\n".join(log)
-- 
2.1.4




More information about the yocto mailing list