Skip to content

Commit 7d1d070

Browse files
committed
go/ssa/interp: disable interp tests on wasm
...as it lacks various OS fundamentals like pipes, which are now used in the test (see CL 622355). Fixes golang/go#70052 Fixes golang/go#70051 Change-Id: I7f247a77a284f0e61f207bd84a5f3c1c2f412b68 Reviewed-on: https://go-review.googlesource.com/c/tools/+/622323 LUCI-TryBot-Result: Go LUCI <[email protected]> Commit-Queue: Alan Donovan <[email protected]> Auto-Submit: Alan Donovan <[email protected]> Reviewed-by: Robert Findley <[email protected]>
1 parent ae56d93 commit 7d1d070

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

go/ssa/interp/interp_test.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,8 @@ func init() {
153153
}
154154

155155
func run(t *testing.T, input string, goroot string) {
156+
testenv.NeedsExec(t) // really we just need os.Pipe, but os/exec uses pipes
157+
156158
t.Logf("Input: %s\n", input)
157159

158160
start := time.Now()

0 commit comments

Comments
 (0)