diff options
| author | Michael Matloob <matloob@golang.org> | 2023-08-31 13:55:38 -0400 |
|---|---|---|
| committer | Michael Matloob <matloob@golang.org> | 2023-08-31 19:08:59 +0000 |
| commit | 67eeede9a6811b453fb6c20c41c1aa8700cf8e57 (patch) | |
| tree | 7291444add3342f0035e91eb7a3925486e2f04e6 /cmd/pkgsite | |
| parent | 06e167958cf0d098b75f39cd9b570fd134c4379e (diff) | |
| download | go-x-pkgsite-67eeede9a6811b453fb6c20c41c1aa8700cf8e57.tar.xz | |
all: skip tests that can't run on wasm platforms
Some because the network support isn't enough for httpreplay, and some
because we need the Go command.
For golang/go#61209
Change-Id: I02c6b7d10553d931c746723ce9608f39834c131c
Reviewed-on: https://go-review.googlesource.com/c/pkgsite/+/524797
Reviewed-by: Robert Findley <rfindley@google.com>
Run-TryBot: Michael Matloob <matloob@golang.org>
kokoro-CI: kokoro <noreply+kokoro@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Diffstat (limited to 'cmd/pkgsite')
| -rw-r--r-- | cmd/pkgsite/main_test.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/pkgsite/main_test.go b/cmd/pkgsite/main_test.go index deac8004..704a425e 100644 --- a/cmd/pkgsite/main_test.go +++ b/cmd/pkgsite/main_test.go @@ -17,6 +17,7 @@ import ( "github.com/google/go-cmp/cmp" "golang.org/x/net/html" "golang.org/x/pkgsite/internal/proxy/proxytest" + "golang.org/x/pkgsite/internal/testenv" "golang.org/x/pkgsite/internal/testing/htmlcheck" "golang.org/x/pkgsite/internal/testing/testhelper" ) @@ -33,6 +34,8 @@ var ( ) func TestServer(t *testing.T) { + testenv.MustHaveExecPath(t, "go") // for local modules + repoPath := func(fn string) string { return filepath.Join("..", "..", fn) } abs := func(dir string) string { |
