##// END OF EJS Templates
tests: use raw strings for regular expressions with escapes...
Gregory Szorc -
r41684:dddf5347 default
parent child Browse files
Show More
@@ -722,7 +722,7 b' def has_fuzzywuzzy():'
722
722
723 @check("clang-libfuzzer", "clang new enough to include libfuzzer")
723 @check("clang-libfuzzer", "clang new enough to include libfuzzer")
724 def has_clang_libfuzzer():
724 def has_clang_libfuzzer():
725 mat = matchoutput('clang --version', b'clang version (\d)')
725 mat = matchoutput('clang --version', br'clang version (\d)')
726 if mat:
726 if mat:
727 # libfuzzer is new in clang 6
727 # libfuzzer is new in clang 6
728 return int(mat.group(1)) > 5
728 return int(mat.group(1)) > 5
@@ -730,7 +730,7 b' def has_clang_libfuzzer():'
730
730
731 @check("clang-6.0", "clang 6.0 with version suffix (libfuzzer included)")
731 @check("clang-6.0", "clang 6.0 with version suffix (libfuzzer included)")
732 def has_clang60():
732 def has_clang60():
733 return matchoutput('clang-6.0 --version', b'clang version 6\.')
733 return matchoutput('clang-6.0 --version', br'clang version 6\.')
734
734
735 @check("xdiff", "xdiff algorithm")
735 @check("xdiff", "xdiff algorithm")
736 def has_xdiff():
736 def has_xdiff():
@@ -811,7 +811,7 b' def has_sqlite():'
811 # WITH clause not supported
811 # WITH clause not supported
812 return False
812 return False
813
813
814 return matchoutput('sqlite3 -version', b'^3\.\d+')
814 return matchoutput('sqlite3 -version', br'^3\.\d+')
815
815
816 @check('vcr', 'vcr http mocking library')
816 @check('vcr', 'vcr http mocking library')
817 def has_vcr():
817 def has_vcr():
General Comments 0
You need to be logged in to leave comments. Login now