]> Cypherpunks repositories - gostls13.git/commit
cmd/go: add 'go generate' commands to modfile_flag test
authorJay Conrod <jayconrod@google.com>
Thu, 21 Nov 2019 23:54:38 +0000 (18:54 -0500)
committerJay Conrod <jayconrod@google.com>
Fri, 22 Nov 2019 16:03:16 +0000 (16:03 +0000)
commit300f5d5b4bac870aa146c14cbb50dbb3902f1feb
tree420e650314e6f24dd407f51d95a4cb432e7b486a
parent3922c006ad57f042238e48bb2cd13e5d88499a6c
cmd/go: add 'go generate' commands to modfile_flag test

Verify that 'go generate' works with -modfile. Also check that
go commands starts with 'go generate' do not inherit -modfile, but
they should still work if -modfile is set in GOFLAGS.

Updates #34506

Change-Id: I5e1f897b4e38e4fdaccc0fbb7a71b8d0e9fc0660
Reviewed-on: https://go-review.googlesource.com/c/go/+/208236
Run-TryBot: Jay Conrod <jayconrod@google.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Bryan C. Mills <bcmills@google.com>
src/cmd/go/testdata/script/modfile_flag.txt