diff options
| author | Bryan C. Mills <bcmills@google.com> | 2022-08-24 10:10:12 -0400 |
|---|---|---|
| committer | Gopher Robot <gobot@golang.org> | 2022-08-24 16:06:46 +0000 |
| commit | 2fc21b50e4c19d60ad7c91bcfe6488e0f13abde3 (patch) | |
| tree | 324608bcfbd2185092215ea720dd5a5de6518e9f /src | |
| parent | 55d96f98ef139daa8d5f362668271751cf59f8e1 (diff) | |
| download | go-2fc21b50e4c19d60ad7c91bcfe6488e0f13abde3.tar.xz | |
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>
Diffstat (limited to 'src')
| -rw-r--r-- | src/cmd/go/testdata/script/link_syso_deps.txt | 3 | ||||
| -rw-r--r-- | src/cmd/go/testdata/script/link_syso_issue33139.txt | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/src/cmd/go/testdata/script/link_syso_deps.txt b/src/cmd/go/testdata/script/link_syso_deps.txt index 7b458b0826..c713304d9f 100644 --- a/src/cmd/go/testdata/script/link_syso_deps.txt +++ b/src/cmd/go/testdata/script/link_syso_deps.txt @@ -1,7 +1,8 @@ # Test that syso in deps is available to cgo. -[!gc] skip +[!gc] skip 'requires syso support' [!cgo] skip +[short] skip 'invokes system C compiler' # External linking is not supported on linux/ppc64. # See: https://github.com/golang/go/issues/8912 diff --git a/src/cmd/go/testdata/script/link_syso_issue33139.txt b/src/cmd/go/testdata/script/link_syso_issue33139.txt index 8a8cb4aa8c..36746e6499 100644 --- a/src/cmd/go/testdata/script/link_syso_issue33139.txt +++ b/src/cmd/go/testdata/script/link_syso_issue33139.txt @@ -1,8 +1,10 @@ # 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. # See issue 33139. + [!gc] skip [!cgo] skip +[short] skip 'invokes system C compiler' # External linking is not supported on linux/ppc64. # See: https://github.com/golang/go/issues/8912 |
