mirror of
https://github.com/golang/go
synced 2024-11-02 13:42:29 +00:00
cmd/go: skip TestScript/build_plugin_non_main on platforms that do not support -buildmode=plugin
Fixes #42474
Change-Id: I1550b44b92cd272854e2f17493245a14e3d39f41
GitHub-Last-Rev: 948d01716e
GitHub-Pull-Request: golang/go#42475
Reviewed-on: https://go-review.googlesource.com/c/go/+/268737
Reviewed-by: Bryan C. Mills <bcmills@google.com>
Reviewed-by: Jay Conrod <jayconrod@google.com>
Trust: Jay Conrod <jayconrod@google.com>
This commit is contained in:
parent
c167635a6e
commit
b34b0aaf69
1 changed files with 2 additions and 4 deletions
|
@ -1,7 +1,5 @@
|
|||
# Plugins are only supported on linux,cgo (!riscv64) and darwin,cgo.
|
||||
[!linux] [!darwin] skip
|
||||
[linux] [riscv64] skip
|
||||
[!cgo] skip
|
||||
# Plugins are not supported on all platforms.
|
||||
[!buildmode:plugin] skip
|
||||
|
||||
go build -n testdep
|
||||
! go build -buildmode=plugin testdep
|
||||
|
|
Loading…
Reference in a new issue