Commit cfeededf authored by Joachim Breitner's avatar Joachim Breitner

New testsuite verbosity level 4

which makes it print performance numbers even when the test succeeds
(good for historic analysis)
parent 194107ea
......@@ -98,8 +98,8 @@ for opt,arg in opts:
config.skip_perf_tests = True
if opt == '--verbose':
if arg not in ["0","1","2","3"]:
sys.stderr.write("ERROR: requested verbosity %s not supported, use 0,1,2 or 3" % arg)
if arg not in ["0","1","2","3","4"]:
sys.stderr.write("ERROR: requested verbosity %s not supported, use 0,1,2,3 or 4" % arg)
sys.exit(1)
config.verbose = int(arg)
......
......@@ -1052,7 +1052,7 @@ def checkStats(stats_file, range_fields):
print field, 'value is too high:'
result = failBecause('stat not good enough')
if val < lowerBound or val > upperBound:
if val < lowerBound or val > upperBound or config.verbose >= 4:
valStr = str(val)
valLen = len(valStr)
expectedStr = str(expected)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment