Skip to content

Commit e8b1456

Browse files
gibfahnevanlucas
authored andcommitted
test: change duration_ms to duration
The test script (tools/test.py) logs duration as "duration_ms: x.y". This is confusing (as the duration is measured in seconds). New example output: duration: 0.212s PR-URL: #7133 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Claudio Rodriguez <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Michael Dawson <[email protected]>
1 parent 865644a commit e8b1456

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,7 +310,7 @@ def HasRun(self, output):
310310
(duration.seconds + duration.days * 24 * 3600) * 10**6) / 10**6
311311

312312
logger.info(' ---')
313-
logger.info(' duration_ms: %d.%d' % (total_seconds, duration.microseconds / 1000))
313+
logger.info(' duration: %d.%ds' % (total_seconds, duration.microseconds / 1000))
314314
logger.info(' ...')
315315

316316
def Done(self):

0 commit comments

Comments
 (0)