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

Issue 6611059: code review 6611059: testing: change -test.benchtime to a flag.Duration. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 9 months ago by dsymonds
Modified:
12 years, 9 months ago
Reviewers:
CC:
golang-dev, minux1, rsc, r
Visibility:
Public.

Description

testing: change -test.benchtime to a flag.Duration. Fixes issue 3902.

Patch Set 1 #

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

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

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -14 lines) Patch
M misc/zsh/go View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/cmd/go/doc.go View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/cmd/go/test.go View 1 1 chunk +2 lines, -2 lines 0 comments Download
M src/cmd/go/testflag.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/go/doc/testdata/benchmark.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M src/pkg/go/doc/testdata/testing.1.golden View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/net/http/serve_test.go View 1 1 chunk +1 line, -1 line 0 comments Download
M src/pkg/testing/benchmark.go View 1 2 chunks +2 lines, -2 lines 0 comments Download
M test/fixedbugs/bug369.go View 1 2 3 1 chunk +2 lines, -2 lines 0 comments Download

Messages

Total messages: 10
dsymonds
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go
12 years, 9 months ago (2012-10-08 10:29:57 UTC) #1
dsymonds
That's the only match for /flag\..*time/ that isn't already using flag.Duration. We could do a ...
12 years, 9 months ago (2012-10-08 10:35:42 UTC) #2
minux1
also need to update: misc/zsh/go: Line 91 test/fixedbugs/bug369.go: Line 41
12 years, 9 months ago (2012-10-08 10:36:19 UTC) #3
dsymonds
Hello golang-dev@googlegroups.com, minux.ma@gmail.com (cc: golang-dev@googlegroups.com), Please take another look.
12 years, 9 months ago (2012-10-08 10:46:03 UTC) #4
dsymonds
On Mon, Oct 8, 2012 at 9:35 PM, David Symonds <dsymonds@golang.org> wrote: > That's the ...
12 years, 9 months ago (2012-10-08 10:46:24 UTC) #5
minux1
LGTM.
12 years, 9 months ago (2012-10-08 10:51:53 UTC) #6
rsc
LGTM This will break things but it's the right thing to do. Also the Go ...
12 years, 9 months ago (2012-10-08 14:45:02 UTC) #7
dsymonds
On Tue, Oct 9, 2012 at 1:45 AM, Russ Cox <rsc@golang.org> wrote: > This will ...
12 years, 9 months ago (2012-10-08 21:15:49 UTC) #8
r
The go1compat document already says, "the Go tool chain (compilers, linkers, build tools, and so ...
12 years, 9 months ago (2012-10-08 21:30:30 UTC) #9
dsymonds
12 years, 9 months ago (2012-10-08 21:57:36 UTC) #10
*** Submitted as http://code.google.com/p/go/source/detail?r=35b8803b82b5 ***

testing: change -test.benchtime to a flag.Duration.

Fixes issue 3902.

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

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