commit | e1b903788ac5e35ed0d0fb20d904eafedca02c81 | [log] [tgz] |
---|---|---|
author | Jay Conrod <jayconrod@google.com> | Fri Jan 04 17:30:36 2019 -0500 |
committer | Jay Conrod <jayconrod@google.com> | Mon Jan 07 17:55:24 2019 +0000 |
tree | 66495b2805e46002f6d27d239ac0df8bcd66cc2e | |
parent | 73fb3c38a685158591503a3d760ae6e1d1a2a565 [diff] |
cmd/go: deflake TestScript/gcflags_patterns The check below can fail incorrectly if the buildid ends with '-p'. ! stderr 'compile.* -e .*-p [^z]' This fix changes regular expressions to '-e.* -p' or '-N.* -p' instead of '-e .*-p'. '-l' is no longer used because the compiler accepts multiple flags starting with '-l' ('-e' and '-N' do not have this problem), so there could be false matches. Change-Id: I827c411de28624019a287f853acc9666e87cbfb9 Reviewed-on: https://go-review.googlesource.com/c/156327 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
Go is an open source programming language that makes it easy to build simple, reliable, and efficient software.
Gopher image by Renee French, licensed under Creative Commons 3.0 Attributions license.
Our canonical Git repository is located at https://go.googlesource.com/go. There is a mirror of the repository at https://github.com/golang/go.
Unless otherwise noted, the Go source files are distributed under the BSD-style license found in the LICENSE file.
Official binary distributions are available at https://golang.org/dl/.
After downloading a binary release, visit https://golang.org/doc/install or load doc/install.html in your web browser for installation instructions.
If a binary distribution is not available for your combination of operating system and architecture, visit https://golang.org/doc/install/source or load doc/install-source.html in your web browser for source installation instructions.
Go is the work of thousands of contributors. We appreciate your help!
To contribute, please read the contribution guidelines: https://golang.org/doc/contribute.html
Note that the Go project uses the issue tracker for bug reports and proposals only. See https://golang.org/wiki/Questions for a list of places to ask questions about the Go language.