Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(126)

Issue 13431044: code review 13431044: cmd/go: show FAIL for errors during test setup (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
11 years, 6 months ago by rsc
Modified:
11 years, 6 months ago
Reviewers:
bradfitz
CC:
golang-dev, bradfitz
Visibility:
Public.

Description

cmd/go: show FAIL for errors during test setup For example, if an x_test.go file contains a syntax error, b.test fails with an error message. But it wasn't printing the same FAIL line that a build failure later would print. This makes all the test failures that happen (once we decide to start running tests) consistently say FAIL. Fixes issue 4701.

Patch Set 1 #

Patch Set 2 : diff -r 2d673b7f9c9e https://code.google.com/p/go/ #

Patch Set 3 : diff -r 3c9e361c43ab https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+22 lines, -2 lines) Patch
M src/cmd/go/test.bash View 1 1 chunk +13 lines, -0 lines 0 comments Download
M src/cmd/go/test.go View 1 1 chunk +4 lines, -2 lines 0 comments Download
A src/cmd/go/testdata/src/syntaxerror/x.go View 1 1 chunk +1 line, -0 lines 0 comments Download
A src/cmd/go/testdata/src/syntaxerror/x_test.go View 1 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 3
rsc
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go/
11 years, 6 months ago (2013-09-10 17:34:21 UTC) #1
bradfitz
LGTM On Tue, Sep 10, 2013 at 10:34 AM, <rsc@golang.org> wrote: > Reviewers: golang-dev1, > ...
11 years, 6 months ago (2013-09-10 17:57:25 UTC) #2
rsc
11 years, 6 months ago (2013-09-10 18:44:00 UTC) #3
*** Submitted as https://code.google.com/p/go/source/detail?r=143e5a765bb1 ***

cmd/go: show FAIL for errors during test setup

For example, if an x_test.go file contains a syntax error,
b.test fails with an error message. But it wasn't printing
the same FAIL line that a build failure later would print.
This makes all the test failures that happen (once we
decide to start running tests) consistently say FAIL.

Fixes issue 4701.

R=golang-dev, bradfitz
CC=golang-dev
https://codereview.appspot.com/13431044
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b