Page MenuHomePhabricator

allow either (<time> seconds) or (<time>s) format for test result time
ClosedPublic

Authored by ox on Apr 16 2015, 4:25 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Apr 1, 9:57 AM
Unknown Object (File)
Thu, Mar 28, 11:13 AM
Unknown Object (File)
Mar 5 2024, 4:05 PM
Unknown Object (File)
Feb 24 2024, 5:04 PM
Unknown Object (File)
Feb 3 2024, 8:06 PM
Unknown Object (File)
Feb 3 2024, 3:09 AM
Unknown Object (File)
Jan 27 2024, 7:47 PM
Unknown Object (File)
Dec 16 2023, 12:57 PM

Details

Summary

The default Go Test Parser stopped showing the test function name at the end of the package after some Go upgrade. We fixed it locally and wanted to share it upstream.

Test Plan

We ran it on our test suite using go1.4.2 darwin/amd64. We have version-dependent code which cannot be compiled with earlier versions of Go, unfortunately.

Diff Detail

Repository
rARC Arcanist
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ox retitled this revision from to allow either (<time> seconds) or (<time>s) format for test result time.
ox updated this object.
ox edited the test plan for this revision. (Show Details)
ox added a reviewer: epriestley.
ox edited edge metadata.
  • add tests to check go test parser against go 1.4 test result format

lgtm... (But you need a Blessed Reviewers member to get it in).

epriestley edited edge metadata.

You should mark these files as allowing tabs in .editorconfig to clear lint. I think a block like this will do it:

[src/unit/parser/__tests__/testresults/go.*]
indent_style =
This revision now requires changes to proceed.Apr 21 2015, 6:52 PM

strangely enough that config is already there. Maybe it's a linter bug?

ox requested a review of this revision.Apr 21 2015, 7:01 PM
ox edited edge metadata.
epriestley edited edge metadata.

Strange indeed.

This revision is now accepted and ready to land.Apr 21 2015, 7:02 PM
This revision was automatically updated to reflect the committed changes.