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

Issue 7310087: code review 7310087: test: ensure all failing tests exit nonzero. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 1 month ago by adonovan
Modified:
12 years, 1 month ago
Reviewers:
CC:
iant, golang-dev
Visibility:
Public.

Description

test: ensure all failing tests exit nonzero. Previously merely printing an error would cause the golden file comparison (in 'bash run') to fail, but that is no longer the case with the new run.go driver.

Patch Set 1 #

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

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

Patch Set 4 : diff -r 3784284ab5d0 https://code.google.com/p/go/ #

Total comments: 2

Patch Set 5 : diff -r 36b36840f7f1 https://code.google.com/p/go/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -130 lines) Patch
M test/alias1.go View 1 2 4 chunks +4 lines, -4 lines 0 comments Download
M test/bigalg.go View 1 2 5 chunks +13 lines, -2 lines 0 comments Download
M test/cmplxdivide.go View 1 1 chunk +3 lines, -0 lines 0 comments Download
M test/const4.go View 1 2 chunks +6 lines, -1 line 0 comments Download
M test/copy.go View 1 2 5 chunks +5 lines, -0 lines 0 comments Download
M test/decl.go View 1 1 chunk +3 lines, -2 lines 0 comments Download
M test/defer.go View 1 2 2 chunks +2 lines, -0 lines 0 comments Download
M test/divide.go View 1 2 1 chunk +8 lines, -0 lines 0 comments Download
M test/escape.go View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M test/float_lit.go View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M test/floatcmp.go View 1 1 chunk +3 lines, -0 lines 0 comments Download
M test/func7.go View 1 2 2 chunks +1 line, -2 lines 0 comments Download
M test/func8.go View 1 2 1 chunk +2 lines, -2 lines 0 comments Download
M test/init1.go View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M test/literal.go View 1 2 chunks +1 line, -2 lines 0 comments Download
M test/map.go View 1 2 11 chunks +116 lines, -112 lines 0 comments Download
M test/nil.go View 1 2 1 chunk +1 line, -1 line 0 comments Download
M test/recover3.go View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M test/rename.go View 1 2 2 chunks +5 lines, -1 line 0 comments Download
M test/string_lit.go View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M test/zerodivide.go View 1 2 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 4
adonovan
Hello iant@golang.org (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go/
12 years, 1 month ago (2013-02-12 17:04:12 UTC) #1
iant
LGTM Thanks. CL description is slightly inaccurate--we stopped using the golden.out file by default a ...
12 years, 1 month ago (2013-02-12 17:57:33 UTC) #2
adonovan
https://codereview.appspot.com/7310087/diff/7001/test/nil.go File test/nil.go (right): https://codereview.appspot.com/7310087/diff/7001/test/nil.go#newcode118 test/nil.go:118: println(x, ok) // unreachable On 2013/02/12 17:57:33, iant wrote: ...
12 years, 1 month ago (2013-02-12 18:15:40 UTC) #3
adonovan
12 years, 1 month ago (2013-02-12 18:17:51 UTC) #4
*** Submitted as https://code.google.com/p/go/source/detail?r=7b970f25d101 ***

test: ensure all failing tests exit nonzero.

Previously merely printing an error would cause the golden
file comparison (in 'bash run') to fail, but that is no longer
the case with the new run.go driver.

R=iant
CC=golang-dev
https://codereview.appspot.com/7310087
Sign in to reply to this message.

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