]> Cypherpunks repositories - gostls13.git/commit
go/internal/gcimporter: skip TestImportTypeparamTests if GOROOT/test is missing
authorBryan C. Mills <bcmills@google.com>
Fri, 16 Jun 2023 19:15:25 +0000 (15:15 -0400)
committerGopher Robot <gobot@golang.org>
Fri, 16 Jun 2023 20:38:49 +0000 (20:38 +0000)
commit3891ecbd3551bb9dad706175fc447dcc5c43eacf
tree3b5e71e746ebfa3587398a09e91ebbba4eeb7f26
parent60876717b402f0dd6b4f585827779a9e435400c8
go/internal/gcimporter: skip TestImportTypeparamTests if GOROOT/test is missing

cmd/distpack removes GOROOT/test, so skip the test if it isn't there.

For #24904.

Change-Id: Iac381517d0540056b2ccea0dc1bd716113b18468
Reviewed-on: https://go-review.googlesource.com/c/go/+/504117
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
src/go/internal/gcimporter/gcimporter_test.go