1
0
mirror of https://github.com/golang/go synced 2024-11-26 21:11:57 -07:00

cmd/go: skip link_syso tests in short mode

These tests invoke the system C compiler and linker.
Skipping them saves a little over half a second of time in short mode.

Updates #54423.

Change-Id: I3e8aa7b53c0c91f7d1e001ec2cd5f7b4954de52d
Reviewed-on: https://go-review.googlesource.com/c/go/+/425206
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
Auto-Submit: Bryan Mills <bcmills@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
This commit is contained in:
Bryan C. Mills 2022-08-24 10:10:12 -04:00 committed by Gopher Robot
parent 55d96f98ef
commit 2fc21b50e4
2 changed files with 4 additions and 1 deletions

View File

@ -1,7 +1,8 @@
# Test that syso in deps is available to cgo. # Test that syso in deps is available to cgo.
[!gc] skip [!gc] skip 'requires syso support'
[!cgo] skip [!cgo] skip
[short] skip 'invokes system C compiler'
# External linking is not supported on linux/ppc64. # External linking is not supported on linux/ppc64.
# See: https://github.com/golang/go/issues/8912 # See: https://github.com/golang/go/issues/8912

View File

@ -1,8 +1,10 @@
# Test that we can use the external linker with a host syso file that is # Test that we can use the external linker with a host syso file that is
# embedded in a package, that is referenced by a Go assembly function. # embedded in a package, that is referenced by a Go assembly function.
# See issue 33139. # See issue 33139.
[!gc] skip [!gc] skip
[!cgo] skip [!cgo] skip
[short] skip 'invokes system C compiler'
# External linking is not supported on linux/ppc64. # External linking is not supported on linux/ppc64.
# See: https://github.com/golang/go/issues/8912 # See: https://github.com/golang/go/issues/8912