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

Issue 9509045: code review 9509045: go.tools/cmd/vet: use "go test" to test (Closed)

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

Description

go.tools/cmd/vet: use "go test" to test - remove Makefile - move test data into a subdirectory - encapsulate the invocation of errchk into a standard Test using os.exec

Patch Set 1 #

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

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

Unified diffs Side-by-side diffs Delta from patch set Stats (+70 lines, -36 lines) Patch
R cmd/vet/Makefile View 1 chunk +0 lines, -14 lines 0 comments Download
M cmd/vet/testdata/asm.go View 1 chunk +1 line, -1 line 0 comments Download
M cmd/vet/testdata/asm1.s View 0 chunks +-1 lines, --1 lines 0 comments Download
M cmd/vet/testdata/asm2.s View 0 chunks +-1 lines, --1 lines 0 comments Download
M cmd/vet/testdata/asm3.s View 0 chunks +-1 lines, --1 lines 0 comments Download
M cmd/vet/testdata/assign.go View 1 1 chunk +1 line, -3 lines 0 comments Download
M cmd/vet/testdata/atomic.go View 1 1 chunk +1 line, -3 lines 0 comments Download
M cmd/vet/testdata/buildtag.go View 1 1 chunk +1 line, -2 lines 0 comments Download
M cmd/vet/testdata/buildtag_bad.go View 0 chunks +-1 lines, --1 lines 0 comments Download
M cmd/vet/testdata/deadcode.go View 1 1 chunk +1 line, -2 lines 0 comments Download
M cmd/vet/testdata/method.go View 1 1 chunk +1 line, -3 lines 0 comments Download
M cmd/vet/testdata/print.go View 1 1 chunk +1 line, -3 lines 0 comments Download
M cmd/vet/testdata/rangeloop.go View 1 1 chunk +1 line, -3 lines 0 comments Download
M cmd/vet/testdata/structtag.go View 1 1 chunk +1 line, -3 lines 0 comments Download
M cmd/vet/testdata/taglit.go View 1 1 chunk +1 line, -3 lines 0 comments Download
A cmd/vet/vet_test.go View 1 2 1 chunk +64 lines, -0 lines 0 comments Download

Messages

Total messages: 9
r
Hello golang-dev@googlegroups.com, I'd like you to review this change to https://code.google.com/p/go.tools
12 years, 4 months ago (2013-05-20 21:28:55 UTC) #1
minux1
Hi Rob, do you think it's worthwhile to enhance test/run.go to support invoke cmd/vet for ...
12 years, 4 months ago (2013-05-20 21:46:00 UTC) #2
r
That would be fine with me. -rob
12 years, 4 months ago (2013-05-20 22:59:04 UTC) #3
r
Hold on. I misread what you were saying. What do you mean by running vet ...
12 years, 4 months ago (2013-05-20 22:59:55 UTC) #4
minux1
On Tuesday, May 21, 2013, Rob Pike wrote: > Hold on. I misread what you ...
12 years, 4 months ago (2013-05-20 23:22:11 UTC) #5
r
not sure how that helps here. run.go isn't compiled and installed, so i'd need to ...
12 years, 4 months ago (2013-05-20 23:52:47 UTC) #6
minux1
On Tue, May 21, 2013 at 7:52 AM, Rob Pike <r@golang.org> wrote: > not sure ...
12 years, 4 months ago (2013-05-21 12:36:21 UTC) #7
rsc
LGTM Just use t.Skip when runtime.GOOS=="windows" and we can move on. Russ
12 years, 4 months ago (2013-05-22 17:14:15 UTC) #8
r
12 years, 4 months ago (2013-05-22 17:20:54 UTC) #9
*** Submitted as
https://code.google.com/p/go/source/detail?r=a4800ca823b1&repo=tools ***

go.tools/cmd/vet: use "go test" to test
- remove Makefile
- move test data into a subdirectory
- encapsulate the invocation of errchk into a standard Test using os.exec

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

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