Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 257f4e6

Browse filesBrowse files
rvaggevanlucas
authored andcommitted
test: add note about duration_ms in TAP reporter
PR-URL: #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>
1 parent 798a737 commit 257f4e6
Copy full SHA for 257f4e6

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Open diff view settings
Collapse file

‎tools/test.py‎

Copy file name to clipboardExpand all lines: tools/test.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -309,6 +309,8 @@ def HasRun(self, output):
309309
total_seconds = (duration.microseconds +
310310
(duration.seconds + duration.days * 24 * 3600) * 10**6) / 10**6
311311

312+
# duration_ms is measured in seconds and is read as such by TAP parsers.
313+
# It should read as "duration including ms" rather than "duration in ms"
312314
logger.info(' ---')
313315
logger.info(' duration_ms: %d.%d' % (total_seconds, duration.microseconds / 1000))
314316
logger.info(' ...')

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.