tests/run-tests.py
changeset 34268 278af5427773
parent 34267 25fce08b36c8
child 34269 20f547806a4d
equal deleted inserted replaced
34267:25fce08b36c8 34268:278af5427773
  2111                                            stderr=subprocess.STDOUT,
  2111                                            stderr=subprocess.STDOUT,
  2112                                            stdout=subprocess.PIPE)
  2112                                            stdout=subprocess.PIPE)
  2113                     data = sub.stdout.read()
  2113                     data = sub.stdout.read()
  2114                     sub.wait()
  2114                     sub.wait()
  2115                     m = re.search(
  2115                     m = re.search(
  2116                         (r'\nThe first (?P<goodbad>bad|good) revision '
  2116                         (br'\nThe first (?P<goodbad>bad|good) revision '
  2117                          r'is:\nchangeset: +\d+:(?P<node>[a-f0-9]+)\n.*\n'
  2117                          br'is:\nchangeset: +\d+:(?P<node>[a-f0-9]+)\n.*\n'
  2118                          r'summary: +(?P<summary>[^\n]+)\n'),
  2118                          br'summary: +(?P<summary>[^\n]+)\n'),
  2119                         data, (re.MULTILINE | re.DOTALL))
  2119                         data, (re.MULTILINE | re.DOTALL))
  2120                     if m is None:
  2120                     if m is None:
  2121                         self.stream.writeln(
  2121                         self.stream.writeln(
  2122                             'Failed to identify failure point for %s' % test)
  2122                             'Failed to identify failure point for %s' % test)
  2123                         continue
  2123                         continue