D2607: hghave: fix up clang-libfuzzer regex to be bytes
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Sat Mar 3 17:59:59 EST 2018
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
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
To: durin42, #hg-reviewers, indygreg
Cc: pulkit, mercurial-devel
More information about the Mercurial-devel
mailing list