You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
err=re.sub(r"^js\(\d+,0x[0-9a-f]+\) malloc: \*\*\* error for object 0x[0-9a-f]+: pointer being freed was not allocated\n\*\*\* set a breakppoint in malloc_error_break to debug\n$",
171
+
err=re.sub(r"^js\(\d+,0x[0-9a-f]+\) malloc: \*\*\* error for object 0x[0-9a-f]+: pointer being freed was not allocated\n\*\*\* set a breakpoint in malloc_error_break to debug\n$",# NOQA: E501
174
172
"pointer being freed was not allocated", err, flags=re.MULTILINE)
175
173
176
174
returnerr
@@ -213,7 +211,7 @@ def clean_output(err):
213
211
(OPTIONS, args) =parser.parse_args()
214
212
215
213
216
-
ifOPTIONS.regression!=None:
214
+
ifOPTIONS.regressionisnotNone:
217
215
# TODO: This should be expanded as we get a better hang of the OOM problems.
218
216
# For now, we'll just check that the number of OOMs in one short file does not
219
217
# increase.
@@ -226,7 +224,7 @@ def clean_output(err):
226
224
files= [fforfinfilesiff.find(args[0]) !=-1]
227
225
228
226
229
-
ifOPTIONS.regression==None:
227
+
ifOPTIONS.regressionisNone:
230
228
# Don't use a logfile, this is automated for tinderbox.
231
229
log=file("../OOM_log", "w")
232
230
@@ -245,7 +243,7 @@ def clean_output(err):
245
243
# TODO: revisit this.
246
244
foriinrange(20, max):
247
245
248
-
ifOPTIONS.regression==None:
246
+
ifOPTIONS.regressionisNone:
249
247
print("Testing allocation {0}/{1} in {2}".format(i, max, f))
0 commit comments