mirror of
https://github.com/golang/go
synced 2024-11-16 23:24:41 -07:00
cmd/compile,cmd/go: fix long test builders
CL 361411 improved error message for go version requirement, but forgot to update the test in cmd/go to match new error message. That causes longtest builders failed. This CL changes mod_vendor_goversion.txt to match compiler error, and limit fixedbugs/issue49368.go to run with -G=3 only. Updates #49368 Change-Id: I125fe0a8c2a1595066d39c03e97819e7a1274e0a Reviewed-on: https://go-review.googlesource.com/c/go/+/361963 Trust: Cuong Manh Le <cuong.manhle.vn@gmail.com> Run-TryBot: Cuong Manh Le <cuong.manhle.vn@gmail.com> TryBot-Result: Go Bot <gobot@golang.org> Reviewed-by: Robert Findley <rfindley@google.com> Reviewed-by: Bryan C. Mills <bcmills@google.com>
This commit is contained in:
parent
5e6475598c
commit
830b393bcd
@ -26,7 +26,7 @@ go mod vendor
|
||||
! grep 1.17 vendor/modules.txt
|
||||
! go build example.net/need117
|
||||
stderr '^vendor[/\\]example\.net[/\\]need117[/\\]need117.go:5:1[89]:'
|
||||
stderr 'conversion of slices to array pointers only supported as of -lang=go1\.17'
|
||||
stderr 'conversion of slices to array pointers requires go1\.17 or later'
|
||||
|
||||
! grep 1.13 vendor/modules.txt
|
||||
go build example.net/bad114
|
||||
|
@ -1,4 +1,4 @@
|
||||
// errorcheck -lang=go1.17
|
||||
// errorcheck -G=3 -lang=go1.17
|
||||
|
||||
// Copyright 2021 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
|
Loading…
Reference in New Issue
Block a user