Lines Matching full:result
58 result = collections.namedtuple('CheckPatchResult', fields)
59 result.ok = False
60 result.errors, result.warning, result.checks = 0, 0, 0
61 result.lines = 0
62 result.problems = []
65 result.stdout = command.Output(chk, '--no-tree', fname,
83 for line in result.stdout.splitlines():
89 result.problems.append(item)
95 result.errors = int(match.group(1))
96 result.warnings = int(match.group(2))
98 result.checks = int(match.group(3))
99 result.lines = int(match.group(4))
101 result.lines = int(match.group(3))
103 result.ok = True
105 result.ok = False
123 return result
148 result = CheckPatch(fname, verbose)
149 if not result.ok:
150 error_count += result.errors
151 warning_count += result.warnings
152 check_count += result.checks
153 print('%d errors, %d warnings, %d checks for %s:' % (result.errors,
154 result.warnings, result.checks, col.Color(col.BLUE, fname)))
155 if (len(result.problems) != result.errors + result.warnings +
156 result.checks):
158 for item in result.problems: