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

Issue 6457075: code review 6457075: cmd/go: skipping relative paths on go test -i ./... (Closed)

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

Description

cmd/go: skipping relative paths on go test -i ./... Fixes issue 3896.

Patch Set 1 #

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

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

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

Total comments: 2

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

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

Total comments: 2

Patch Set 7 : diff -r b42e90a3d42f https://code.google.com/p/go #

Total comments: 2

Patch Set 8 : diff -r 422b4a8160bc https://code.google.com/p/go #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -1 line) Patch
M src/cmd/go/test.bash View 1 2 1 chunk +6 lines, -0 lines 0 comments Download
M src/cmd/go/test.go View 1 2 3 4 5 6 7 1 chunk +3 lines, -1 line 0 comments Download

Messages

Total messages: 14
fss
Hello rsc@golang.org, rogpeppe@gmail.com (cc: golang-dev@googlegroups.com), I'd like you to review this change to https://code.google.com/p/go
11 years, 9 months ago (2012-08-02 23:59:41 UTC) #1
r
http://codereview.appspot.com/6457075/diff/7001/src/cmd/go/test.go File src/cmd/go/test.go (right): http://codereview.appspot.com/6457075/diff/7001/src/cmd/go/test.go#newcode280 src/cmd/go/test.go:280: if !strings.HasPrefix(path, ".") { It's a small point but ...
11 years, 9 months ago (2012-08-03 00:01:41 UTC) #2
fss
On 2012/08/03 00:01:41, r wrote: > http://codereview.appspot.com/6457075/diff/7001/src/cmd/go/test.go > File src/cmd/go/test.go (right): > > http://codereview.appspot.com/6457075/diff/7001/src/cmd/go/test.go#newcode280 > ...
11 years, 9 months ago (2012-08-03 00:11:52 UTC) #3
r
To do what the CL claims it's doing, yes. -rob
11 years, 9 months ago (2012-08-03 00:12:55 UTC) #4
r
By "yes" I mean, that's all you need to check. -rob
11 years, 9 months ago (2012-08-03 00:13:12 UTC) #5
fss
Please take another look. I was not sure if I should break that condition in ...
11 years, 9 months ago (2012-08-03 00:24:16 UTC) #6
r
http://codereview.appspot.com/6457075/diff/11001/src/cmd/go/test.go File src/cmd/go/test.go (right): http://codereview.appspot.com/6457075/diff/11001/src/cmd/go/test.go#newcode280 src/cmd/go/test.go:280: if path == "." || path == ".." || ...
11 years, 9 months ago (2012-08-03 04:11:34 UTC) #7
fss
PTAL. About path/filepath having a IsRelativePath, I don't think this function would solve the problem. ...
11 years, 9 months ago (2012-08-03 12:26:01 UTC) #8
rsc
http://codereview.appspot.com/6457075/diff/3002/src/cmd/go/test.go File src/cmd/go/test.go (right): http://codereview.appspot.com/6457075/diff/3002/src/cmd/go/test.go#newcode206 src/cmd/go/test.go:206: func isRelativeImport(path string) bool { Can delete this and ...
11 years, 9 months ago (2012-08-03 19:47:22 UTC) #9
fss
PTAL http://codereview.appspot.com/6457075/diff/3002/src/cmd/go/test.go File src/cmd/go/test.go (right): http://codereview.appspot.com/6457075/diff/3002/src/cmd/go/test.go#newcode206 src/cmd/go/test.go:206: func isRelativeImport(path string) bool { On 2012/08/03 19:47:22, ...
11 years, 9 months ago (2012-08-04 02:31:21 UTC) #10
fss
ping
11 years, 9 months ago (2012-08-06 21:05:22 UTC) #11
fss
ping?
11 years, 9 months ago (2012-08-14 16:36:27 UTC) #12
r
LGTM
11 years, 9 months ago (2012-08-15 14:25:56 UTC) #13
r
11 years, 9 months ago (2012-08-15 14:33:04 UTC) #14
*** Submitted as http://code.google.com/p/go/source/detail?r=88b5e30d3bd5 ***

cmd/go: skipping relative paths on go test -i ./...

Fixes issue 3896.

R=rsc, rogpeppe, r
CC=golang-dev
http://codereview.appspot.com/6457075

Committer: Rob Pike <r@golang.org>
Sign in to reply to this message.

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