gocheck flags must follow ./path test paths

Bug #1117790 reported by Dan Kortschak
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
gocheck
New
Undecided
Unassigned

Bug Description

It seems that gocheck somehow clobbers the args list since the position of -gocheck.v impacts on whether calling a test on a specific path is valid. When -gockeck.v+ is specified the path must precede it, otherwise the path is set to '.'.

.../code.google.com/p/biogo$ go test -gocheck.v ./align
? code.google.com/p/biogo [no test files]
.../code.google.com/p/biogo$ go test ./align
ok code.google.com/p/biogo/align 0.010s
.../code.google.com/p/biogo$ go test ./align -gocheck.v
ok code.google.com/p/biogo/align 0.010s

Revision history for this message
Dan Kortschak (dan-kortschak) wrote :

It seems, further, that the trailing -gocheck.v+ is then ignored.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.