diff options
author | Gibson Fahnestock <gib@uk.ibm.com> | 2016-06-03 11:49:04 +0100 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2016-06-06 08:54:07 -0700 |
commit | d413378e513c47a952f7979c74f4a4d9f144ca7d (patch) | |
tree | fd6aa62b1b84ef65a6618e391381f665b02e5a97 /tools/test.py | |
parent | d976d66cfc3159e0405ab66dcac3cb14fba2c5da (diff) | |
download | android-node-v8-d413378e513c47a952f7979c74f4a4d9f144ca7d.tar.gz android-node-v8-d413378e513c47a952f7979c74f4a4d9f144ca7d.tar.bz2 android-node-v8-d413378e513c47a952f7979c74f4a4d9f144ca7d.zip |
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: https://github.com/nodejs/node/pull/7133
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
Diffstat (limited to 'tools/test.py')
-rwxr-xr-x | tools/test.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/test.py b/tools/test.py index ab3da337bc..7553da9a3c 100755 --- a/tools/test.py +++ b/tools/test.py @@ -310,7 +310,7 @@ class TapProgressIndicator(SimpleProgressIndicator): (duration.seconds + duration.days * 24 * 3600) * 10**6) / 10**6 logger.info(' ---') - logger.info(' duration_ms: %d.%d' % (total_seconds, duration.microseconds / 1000)) + logger.info(' duration: %d.%ds' % (total_seconds, duration.microseconds / 1000)) logger.info(' ...') def Done(self): |