tests/run-tests.py
changeset 37741 700aaa19de63
parent 37342 4e6a6d0dccee
child 38222 507bdc40bb17
equal deleted inserted replaced
37740:1b71a397d6b2 37741:700aaa19de63
  2213             if m is None:
  2213             if m is None:
  2214                 self.stream.writeln(
  2214                 self.stream.writeln(
  2215                     'Failed to identify failure point for %s' % test)
  2215                     'Failed to identify failure point for %s' % test)
  2216                 continue
  2216                 continue
  2217             dat = m.groupdict()
  2217             dat = m.groupdict()
  2218             verb = 'broken' if dat['goodbad'] == 'bad' else 'fixed'
  2218             verb = 'broken' if dat['goodbad'] == b'bad' else 'fixed'
  2219             self.stream.writeln(
  2219             self.stream.writeln(
  2220                 '%s %s by %s (%s)' % (
  2220                 '%s %s by %s (%s)' % (
  2221                     test, verb, dat['node'], dat['summary']))
  2221                     test, verb, dat['node'].decode('ascii'),
       
  2222                     dat['summary'].decode('utf8', 'ignore')))
  2222 
  2223 
  2223     def printtimes(self, times):
  2224     def printtimes(self, times):
  2224         # iolock held by run
  2225         # iolock held by run
  2225         self.stream.writeln('# Producing time report')
  2226         self.stream.writeln('# Producing time report')
  2226         times.sort(key=lambda t: (t[3]))
  2227         times.sort(key=lambda t: (t[3]))