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 ef83029

Browse filesBrowse files
thefourtheyervagg
authored andcommitted
tools: remove hyphen in TAP result
As it is, the TAP result shows an extra hyphen in front of test names. Sample: ci.nodejs.org/job/node-test-commit-osx/nodes=osx1010/454/tapResults/ This patch removes the extra hyphen. PR-URL: #2718 Reviewed-By: Johan Bergström <bugs@bergstroem.nu>
1 parent 7f7d4fd commit ef83029
Copy full SHA for ef83029

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+3
-3
lines changed
Open diff view settings
Collapse file

‎tools/test.py‎

Copy file name to clipboardExpand all lines: tools/test.py
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ def HasRun(self, output):
259259
self._done += 1
260260
command = basename(output.command[-1])
261261
if output.UnexpectedOutput():
262-
status_line = 'not ok %i - %s' % (self._done, command)
262+
status_line = 'not ok %i %s' % (self._done, command)
263263
if FLAKY in output.test.outcomes and self.flaky_tests_mode == DONTCARE:
264264
status_line = status_line + ' # TODO : Fix flaky test'
265265
logger.info(status_line)
@@ -271,9 +271,9 @@ def HasRun(self, output):
271271
skip = skip_regex.search(output.output.stdout)
272272
if skip:
273273
logger.info(
274-
'ok %i - %s # skip %s' % (self._done, command, skip.group(1)))
274+
'ok %i %s # skip %s' % (self._done, command, skip.group(1)))
275275
else:
276-
status_line = 'ok %i - %s' % (self._done, command)
276+
status_line = 'ok %i %s' % (self._done, command)
277277
if FLAKY in output.test.outcomes:
278278
status_line = status_line + ' # TODO : Fix flaky test'
279279
logger.info(status_line)

0 commit comments

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