]> Cypherpunks.ru repositories - gostls13.git/commit
cmd/go: pass GOEXPERIMENT through to subtests
authorRuss Cox <rsc@golang.org>
Thu, 16 Jun 2022 19:43:57 +0000 (15:43 -0400)
committerGopher Robot <gobot@golang.org>
Thu, 16 Jun 2022 20:01:10 +0000 (20:01 +0000)
commit635b1244aa7671bcd665613680f527452cac7555
tree8bf2fb628233acb74bee9ce3002391614bf859ac
parentef808ae1d446700aeeb19d5aa041ca14db44c951
cmd/go: pass GOEXPERIMENT through to subtests

This fixes:

export GOEXPERIMENT=unified
go install cmd
go install std cmd
go install std cmd
go test -short cmd/go -run=TestScript/test_relative_import_dash_i

That script test checks that runtime is non-stale, but whether it's stale
depends on the setting of GOEXPERIMENT. Stop filtering that variable out.

Change-Id: I71bdbca495c16981cdcddf4ab4d87a38ca72a389
Reviewed-on: https://go-review.googlesource.com/c/go/+/412874
Run-TryBot: Russ Cox <rsc@golang.org>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Matthew Dempsky <mdempsky@google.com>
Auto-Submit: Russ Cox <rsc@golang.org>
src/cmd/go/script_test.go