|
|
@ -126,7 +126,7 @@ def print_stats(numlen, tests, name, result, i, logfile, jsonlogfile): |
|
|
|
startpad = ' '*(numlen - len('%d' % (i+1))) |
|
|
|
startpad = ' '*(numlen - len('%d' % (i+1))) |
|
|
|
num = '%s%d/%d' % (startpad, i+1, len(tests)) |
|
|
|
num = '%s%d/%d' % (startpad, i+1, len(tests)) |
|
|
|
padding1 = ' '*(38-len(name)) |
|
|
|
padding1 = ' '*(38-len(name)) |
|
|
|
padding2 = ' '*(5-len(result.res)) |
|
|
|
padding2 = ' '*(8-len(result.res)) |
|
|
|
result_str = '%s %s %s%s%s(%5.2f s)' % \ |
|
|
|
result_str = '%s %s %s%s%s(%5.2f s)' % \ |
|
|
|
(num, name, padding1, result.res, padding2, result.duration) |
|
|
|
(num, name, padding1, result.res, padding2, result.duration) |
|
|
|
print(result_str) |
|
|
|
print(result_str) |
|
|
|