tests: convert bisect support regex to binary
authorAugie Fackler <augie@google.com>
Tue, 19 Sep 2017 00:08:52 -0400
changeset 34268 278af5427773
parent 34267 25fce08b36c8
child 34269 20f547806a4d
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.
tests/run-tests.py
--- 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(