]> khamidou — GitHub mirrors - arcanist.git/commit
allow either (<time> seconds) or (<time>s) format for test result time
authorArtemTitoulenko <artem.titoulenko@gmail.com>
Tue, 21 Apr 2015 19:02:32 +0000 (12:02 -0700)
committerepriestley <git@epriestley.com>
Tue, 21 Apr 2015 19:02:32 +0000 (12:02 -0700)
commita9ebe1cb4ffc9ebfa1ef8a87ef51e0b8b026cb42
treefbe616d06a37d79255dc2fc1f180fe4ef0a679d3
parentc56e4a56dc2e2e987f80a944e009d0f76d249400
allow either (<time> seconds) or (<time>s) format for test result time

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.

Reviewers: #blessed_reviewers, epriestley

Reviewed By: #blessed_reviewers, epriestley

Subscribers: avivey, Korvin, epriestley

Maniphest Tasks: T7845

Differential Revision: https://secure.phabricator.com/D12436
src/unit/parser/ArcanistGoTestResultParser.php
src/unit/parser/__tests__/ArcanistGoTestResultParserTestCase.php
src/unit/parser/__tests__/testresults/go.multiple-test-cases-failure-go1.4 [new file with mode: 0644]
src/unit/parser/__tests__/testresults/go.multiple-test-cases-successful-go1.4 [new file with mode: 0644]
src/unit/parser/__tests__/testresults/go.nonverbose-go1.4 [new file with mode: 0644]
src/unit/parser/__tests__/testresults/go.single-test-case-failure-go1.4 [new file with mode: 0644]
src/unit/parser/__tests__/testresults/go.single-test-case-successful-go1.4 [new file with mode: 0644]