##// END OF EJS Templates
tests: pass str to matchoutput()...
Gregory Szorc -
r45130:51ffb2a6 default
parent child Browse files
Show More
@@ -335,7 +335,7 b' def has_hg_range(v):'
335 @check("rust", "Using the Rust extensions")
335 @check("rust", "Using the Rust extensions")
336 def has_rust():
336 def has_rust():
337 """Check is the mercurial currently running is using some rust code"""
337 """Check is the mercurial currently running is using some rust code"""
338 cmd = b'hg debuginstall --quiet 2>&1'
338 cmd = 'hg debuginstall --quiet 2>&1'
339 match = br'checking module policy \(([^)]+)\)'
339 match = br'checking module policy \(([^)]+)\)'
340 policy = matchoutput(cmd, match)
340 policy = matchoutput(cmd, match)
341 if not policy:
341 if not policy:
General Comments 0
You need to be logged in to leave comments. Login now