1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
|
From: Arnaud Rebillout <arnaud.rebillout@collabora.com>
Date: Tue, 17 Nov 2020 02:14:58 +0800
Subject: Skip tests that run 'go build', hence need to be online
Origin: vendor
Forwarded: no
Last-Update: 2019-11-05
Seems like 'go build' can't work offline:
go: golang.org/x/net@<<...>>: module lookup disabled by GOPROXY=off
Last-Update: 2019-11-05
---
cmd/stringer/endtoend_test.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/cmd/stringer/endtoend_test.go b/cmd/stringer/endtoend_test.go
index af106b5..469b859 100644
--- a/cmd/stringer/endtoend_test.go
+++ b/cmd/stringer/endtoend_test.go
@@ -153,6 +153,7 @@ func TestConstValueChange(t *testing.T) {
// buildStringer creates a temporary directory and installs stringer there.
func buildStringer(t *testing.T) (dir string, stringer string) {
t.Helper()
+ t.Skip("Skipping test in offline build environment")
testenv.NeedsTool(t, "go")
dir, err := ioutil.TempDir("", "stringer")
|