diff options
author | Rod Vagg <rod@vagg.org> | 2016-06-08 16:57:26 +1000 |
---|---|---|
committer | Rod Vagg <rod@vagg.org> | 2016-06-13 21:55:49 +1000 |
commit | 05de4d78a62228732fcfe2e3d5c4e75863d3d0dc (patch) | |
tree | 4af93f319b35ece56bcec52a5833897ca4876546 /tools/test.py | |
parent | 1d4c7993a9c6dcacaca5074a80b1043e977c43fb (diff) | |
download | android-node-v8-05de4d78a62228732fcfe2e3d5c4e75863d3d0dc.tar.gz android-node-v8-05de4d78a62228732fcfe2e3d5c4e75863d3d0dc.tar.bz2 android-node-v8-05de4d78a62228732fcfe2e3d5c4e75863d3d0dc.zip |
test: add note about duration_ms in TAP reporter
PR-URL: https://github.com/nodejs/node/pull/7216
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michaël Zasso <mic.besace@gmail.com>
Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
Diffstat (limited to 'tools/test.py')
-rwxr-xr-x | tools/test.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/test.py b/tools/test.py index ab3da337bc..3efafd9548 100755 --- a/tools/test.py +++ b/tools/test.py @@ -309,6 +309,8 @@ class TapProgressIndicator(SimpleProgressIndicator): total_seconds = (duration.microseconds + (duration.seconds + duration.days * 24 * 3600) * 10**6) / 10**6 + # duration_ms is measured in seconds and is read as such by TAP parsers. + # It should read as "duration including ms" rather than "duration in ms" logger.info(' ---') logger.info(' duration_ms: %d.%d' % (total_seconds, duration.microseconds / 1000)) logger.info(' ...') |