]> Cypherpunks repositories - gostls13.git/commitdiff
cmd/go: change the gccgo 'package m' regression test to run in GOPATH mode
authorBryan C. Mills <bcmills@google.com>
Thu, 19 Sep 2019 16:49:05 +0000 (12:49 -0400)
committerBryan C. Mills <bcmills@google.com>
Thu, 19 Sep 2019 18:27:53 +0000 (18:27 +0000)
This test is failing in the builders due to the deployed versions of
gccgo not supporting module mode. However, the bug reproduced in
GOPATH mode too, so that mode should be fine for a regression test.

Updates #34358

Change-Id: I954132a96849e80e8783d4de10389fcab7b14af2
Reviewed-on: https://go-review.googlesource.com/c/go/+/196518
Run-TryBot: Bryan C. Mills <bcmills@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Than McIntosh <thanm@google.com>
src/cmd/go/testdata/script/gccgo_m.txt [moved from src/cmd/go/testdata/script/mod_m.txt with 88% similarity]

similarity index 88%
rename from src/cmd/go/testdata/script/mod_m.txt
rename to src/cmd/go/testdata/script/gccgo_m.txt
index a6edeac7bba113d1b62536893f7c4ed011db073d..b63ba46ced0f1e8756467f27b1f7b944de2dfb74 100644 (file)
@@ -1,6 +1,10 @@
 # It's absurd, but builds with -compiler=gccgo used to fail to build module m.
 # golang.org/issue/34358
 
+env GO111MODULE=off
+
+[short] skip
+
 cd m
 go build
 exists m$GOEXE