Bug 646763: Fix |make check-ooms| which never ran (r=nnethercote)

This commit is contained in:
Paul Biggar 2011-04-03 18:29:46 -07:00
parent 93970628c1
commit 6c146289f4
3 changed files with 7 additions and 1 deletions

View File

@ -229,6 +229,8 @@ for f in files:
if OPTIONS.regression == None:
print "Testing allocation %d/%d in %s" % (i,max,f)
else:
sys.stdout.write('.') # something short for tinderbox, no space or \n
command = (command_template + ' -A %d') % (f, i)
out, err, exit = run(command)
@ -317,6 +319,7 @@ for f in files:
if not OPTIONS.regression == None:
count_lines()
print '\n',
# Do the actual regression check
if OPTIONS.regression:

View File

@ -606,7 +606,7 @@ endif
check-ooms:
$(wildcard $(RUN_TEST_PROGRAM)) $(PYTHON) -u $(srcdir)/config/find_OOM_errors.py --regression 125
ifdef DEBUG
ifeq ($(MOZ_DEBUG),1)
check:: check-ooms
endif

View File

@ -229,6 +229,8 @@ for f in files:
if OPTIONS.regression == None:
print "Testing allocation %d/%d in %s" % (i,max,f)
else:
sys.stdout.write('.') # something short for tinderbox, no space or \n
command = (command_template + ' -A %d') % (f, i)
out, err, exit = run(command)
@ -317,6 +319,7 @@ for f in files:
if not OPTIONS.regression == None:
count_lines()
print '\n',
# Do the actual regression check
if OPTIONS.regression: