changeset 34275:278af5427773

tests: convert bisect support regex to binary The bisection feature of run-tests still fails tests with this because bisect itself doesn't work yet. We'll get there.
author Augie Fackler <augie@google.com>
date Tue, 19 Sep 2017 00:08:52 -0400
parents 25fce08b36c8
children 20f547806a4d
files tests/run-tests.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/tests/run-tests.py	Tue Sep 19 00:08:12 2017 -0400
+++ b/tests/run-tests.py	Tue Sep 19 00:08:52 2017 -0400
@@ -2113,9 +2113,9 @@
                     data = sub.stdout.read()
                     sub.wait()
                     m = re.search(
-                        (r'\nThe first (?P<goodbad>bad|good) revision '
-                         r'is:\nchangeset: +\d+:(?P<node>[a-f0-9]+)\n.*\n'
-                         r'summary: +(?P<summary>[^\n]+)\n'),
+                        (br'\nThe first (?P<goodbad>bad|good) revision '
+                         br'is:\nchangeset: +\d+:(?P<node>[a-f0-9]+)\n.*\n'
+                         br'summary: +(?P<summary>[^\n]+)\n'),
                         data, (re.MULTILINE | re.DOTALL))
                     if m is None:
                         self.stream.writeln(