Beispiel #1
0
 def describe(self, done=False):
     description = ShellCommand.describe(self, done)
     if done:
         description.append('%d projects' % self.step_status.getStatistic('projects', 0))
         description.append('%d files' % self.step_status.getStatistic('files', 0))
         warnings = self.step_status.getStatistic('warnings', 0)
         if warnings > 0:
             description.append('%d warnings' % warnings)
         errors = self.step_status.getStatistic('errors', 0)
         if errors > 0:
             description.append('%d errors' % errors)
     return description
Beispiel #2
0
 def describe(self, done=False):
     description = ShellCommand.describe(self, done)
     if done:
         description.append('%d projects' % self.step_status.getStatistic('projects', 0))
         description.append('%d files' % self.step_status.getStatistic('files', 0))
         warnings = self.step_status.getStatistic('warnings', 0)
         if warnings > 0:
             description.append('%d warnings' % warnings)
         errors = self.step_status.getStatistic('errors', 0)
         if errors > 0:
             description.append('%d errors' % errors)
     return description
Beispiel #3
0
 def describe(self, done=False):
     description = ShellCommand.describe(self, done)
     if done:
         description.append("%d projects" % self.step_status.getStatistic("projects", 0))
         description.append("%d files" % self.step_status.getStatistic("files", 0))
         warnings = self.step_status.getStatistic("warnings", 0)
         if warnings > 0:
             description.append("%d warnings" % warnings)
         errors = self.step_status.getStatistic("errors", 0)
         if errors > 0:
             description.append("%d errors" % errors)
     return description
 def describe(self, done=False):
     res = ShellCommand.describe(self, done)
     if not done:
         return res
     # lines......: 8.6% (25196 of 294604 lines)
     # functions..: 13.6% (9093 of 66819 functions)
     lines_rx = re.compile(r'^\s*lines\.*: ([\d\.]+%)')
     functions_rx = re.compile(r'^\s*functions\.*: ([\d\.]+%)')
     for line in self.getLog('stdio').readlines():
         m = lines_rx.search(line)
         if m:
             res.append('lines: %s ; ' % m.group(1))
         m = functions_rx.search(line)
         if m:
             res.append('functions: %s ; ' % m.group(1))
     return res
Beispiel #5
0
 def describe(self, done=False):
     description = ShellCommand.describe(self,done)
     return description
    def describe(self, done=False):
        ShellCommand.describe(self, done)

        if done:
            return ["running", self.current_version]
Beispiel #7
0
 def describe(self, done=False):
     description = ShellCommand.describe(self, done)
     if self.layerversion_yoctobsp is not None and int(self.layerversion_yoctobsp) < 2 and self.machine is not None and self.machine == "genericx86-64":
         description.append("genericx86-64 does not exist in this branch. Skipping")
     return description