##// END OF EJS Templates
check-code: allow an escape pattern to be specified for testpattern...
Pierre-Yves David -
r22101:6fa40bd7 default
parent child Browse files
Show More
@@ -179,12 +179,14 b' utestpats = ['
179 ]
179 ]
180
180
181 for i in [0, 1]:
181 for i in [0, 1]:
182 for p, m in testpats[i]:
182 for tp in testpats[i]:
183 p = tp[0]
184 m = tp[1]
183 if p.startswith(r'^'):
185 if p.startswith(r'^'):
184 p = r"^ [$>] (%s)" % p[1:]
186 p = r"^ [$>] (%s)" % p[1:]
185 else:
187 else:
186 p = r"^ [$>] .*(%s)" % p
188 p = r"^ [$>] .*(%s)" % p
187 utestpats[i].append((p, m))
189 utestpats[i].append((p, m) + tp[2:])
188
190
189 utestfilters = [
191 utestfilters = [
190 (r"<<(\S+)((.|\n)*?\n > \1)", rephere),
192 (r"<<(\S+)((.|\n)*?\n > \1)", rephere),
General Comments 0
You need to be logged in to leave comments. Login now