]> Cypherpunks repositories - gostls13.git/commit
go/internal/gcimporter,cmd/compile/internal/importer: skip tests that need 'go list...
authorBryan C. Mills <bcmills@google.com>
Wed, 19 Oct 2022 15:57:15 +0000 (11:57 -0400)
committerGopher Robot <gobot@golang.org>
Wed, 19 Oct 2022 16:30:38 +0000 (16:30 +0000)
commit6b22572e700235fb7303c7fd6aefcc33c743a130
tree4da76ea952e4b327b466fa674187fad017f94489
parent1f068f0dc7bc997446a7aac44cfc70746ad918e0
go/internal/gcimporter,cmd/compile/internal/importer: skip tests that need 'go list' on js/wasm

js/wasm doesn't support os.Exec, so it can't run 'go list' to locate
export data for packages in the standard library.

This fixes js/wasm test failures introduced in CL 442303.

For #47257.

Change-Id: I39289f376691493aa6fb447b3329f6508ab48d58
Reviewed-on: https://go-review.googlesource.com/c/go/+/444015
Auto-Submit: Bryan Mills <bcmills@google.com>
Reviewed-by: David Chase <drchase@google.com>
Run-TryBot: Bryan Mills <bcmills@google.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
src/cmd/compile/internal/importer/gcimporter_test.go
src/go/internal/gcimporter/gcimporter_test.go