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

Issue 5696079: code review 5696079: net: make -external flag for tests default to true (Closed)

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

Description

net: make -external flag for tests default to true go test -short # like in the build; no external stuff go test # long tests, + external go test -external=false # long tests, no external

Patch Set 1 : diff -r 767b6229d4dc https://go.googlecode.com/hg/ #

Patch Set 2 : diff -r cf269312d192 https://go.googlecode.com/hg/ #

Total comments: 1

Patch Set 3 : diff -r af2e71416a85 https://go.googlecode.com/hg/ #

Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -10 lines) Patch
M src/pkg/net/dialgoogle_test.go View 1 3 chunks +6 lines, -9 lines 0 comments Download
M src/pkg/net/lookup_test.go View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 6
mikio
Hello golang-dev@googlegroups.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://go.googlecode.com/hg/
13 years, 1 month ago (2012-02-26 10:25:47 UTC) #1
rsc
I am a little worried about us never using the external tests anymore. Can we ...
13 years, 1 month ago (2012-02-28 15:43:09 UTC) #2
mikio
On Wed, Feb 29, 2012 at 12:43 AM, Russ Cox <rsc@golang.org> wrote: > Can we ...
13 years, 1 month ago (2012-02-28 22:44:34 UTC) #3
mikio
Hello golang-dev@googlegroups.com, rsc@golang.org (cc: golang-dev@googlegroups.com), Please take another look.
13 years, 1 month ago (2012-02-29 01:25:27 UTC) #4
rsc
LGTM Thanks. http://codereview.appspot.com/5696079/diff/8005/src/pkg/net/lookup_test.go File src/pkg/net/lookup_test.go (right): http://codereview.appspot.com/5696079/diff/8005/src/pkg/net/lookup_test.go#newcode15 src/pkg/net/lookup_test.go:15: var testExternal = flag.Bool("external", true, "allow use ...
13 years, 1 month ago (2012-02-29 16:20:46 UTC) #5
mikio
13 years, 1 month ago (2012-02-29 22:39:06 UTC) #6
*** Submitted as http://code.google.com/p/go/source/detail?r=7bde1715f288 ***

net: make -external flag for tests default to true

go test -short # like in the build; no external stuff
go test # long tests, + external
go test -external=false # long tests, no external

R=golang-dev, rsc
CC=golang-dev
http://codereview.appspot.com/5696079
Sign in to reply to this message.

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