diff --git a/config/find_OOM_errors.py b/config/find_OOM_errors.py index 090c9b33e70..1d9f4437ee4 100644 --- a/config/find_OOM_errors.py +++ b/config/find_OOM_errors.py @@ -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: diff --git a/js/src/Makefile.in b/js/src/Makefile.in index 1ba0c7dab1b..4026cee1d0f 100644 --- a/js/src/Makefile.in +++ b/js/src/Makefile.in @@ -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 diff --git a/js/src/config/find_OOM_errors.py b/js/src/config/find_OOM_errors.py index 090c9b33e70..1d9f4437ee4 100644 --- a/js/src/config/find_OOM_errors.py +++ b/js/src/config/find_OOM_errors.py @@ -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: