We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Another test that mutates a global and thus fails with -cpu=1,1 $ go test -test.cpu=1,1 -test.run=TestValid go/parser --- FAIL: TestValid (0.00s) panic: package p used multiple times [recovered] panic: package p used multiple times goroutine 6 [running]: testing.func·006() /home/gustav/go.tip/src/testing/testing.go:441 +0x181 go/parser.func·004(0xc208035200, 0x1) /home/gustav/go.tip/src/go/parser/error_test.go:44 +0x10f go/token.(*FileSet).Iterate(0xc208046480, 0xc208081d28) /home/gustav/go.tip/src/go/token/position.go:396 +0xb2 go/parser.getFile(0x5b5a30, 0xa, 0xc2080341e0) /home/gustav/go.tip/src/go/parser/error_test.go:49 +0x65 go/parser.expectedErrors(0xc20803a090, 0x5b5a30, 0xa, 0xc208094100, 0xa, 0x10, 0xc208065100) /home/gustav/go.tip/src/go/parser/error_test.go:78 +0x7d go/parser.checkErrors(0xc20803a090, 0x5b5a30, 0xa, 0x52d9c0, 0xc2080940f0) /home/gustav/go.tip/src/go/parser/error_test.go:165 +0x3eb go/parser.TestValid(0xc20803a090) /home/gustav/go.tip/src/go/parser/short_test.go:47 +0xfd testing.tRunner(0xc20803a090, 0x680608) /home/gustav/go.tip/src/testing/testing.go:447 +0xbf created by testing.RunTests /home/gustav/go.tip/src/testing/testing.go:555 +0xa8b goroutine 1 [chan receive]: testing.RunTests(0x5f4ef8, 0x680500, 0xd, 0xd, 0x682d01) /home/gustav/go.tip/src/testing/testing.go:556 +0xad6 testing.(*M).Run(0xc208056140, 0x67c9c0) /home/gustav/go.tip/src/testing/testing.go:485 +0x6c main.main() go/parser/_test/_testmain.go:82 +0x1d5 FAIL go/parser 0.003s
The text was updated successfully, but these errors were encountered:
Comment 1:
Labels changed: added repo-main, release-go1.4maybe.
Sorry, something went wrong.
Comment 2:
CL https://golang.org/cl/180920043 mentions this issue.
Comment 3:
This issue was closed by revision e538770.
Status changed to Fixed.
No branches or pull requests
The text was updated successfully, but these errors were encountered: