Patchwork D2607: hghave: fix up clang-libfuzzer regex to be bytes

login
register
mail settings
Submitter phabricator
Date March 3, 2018, 10:59 p.m.
Message ID <61aa1597a81cf72d4965e93cd00f8739@localhost.localdomain>
Download mbox | patch
Permalink /patch/28859/
State Not Applicable
Headers show

Comments

phabricator - March 3, 2018, 10:59 p.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGdc11f257ad1d: hghave: fix up clang-libfuzzer regex to be bytes (authored by durin42, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D2607?vs=6482&id=6493

REVISION DETAIL
  https://phab.mercurial-scm.org/D2607

AFFECTED FILES
  tests/hghave.py

CHANGE DETAILS




To: durin42, #hg-reviewers, indygreg
Cc: pulkit, mercurial-devel

Patch

diff --git a/tests/hghave.py b/tests/hghave.py
--- a/tests/hghave.py
+++ b/tests/hghave.py
@@ -703,7 +703,7 @@ 
 
 @check("clang-libfuzzer", "clang new enough to include libfuzzer")
 def has_clang_libfuzzer():
-    mat = matchoutput('clang --version', 'clang version (\d)')
+    mat = matchoutput('clang --version', b'clang version (\d)')
     if mat:
         # libfuzzer is new in clang 6
         return int(mat.group(1)) > 5