]> Cypherpunks repositories - gostls13.git/commit
cmd/compile/internal/syntax: add -skip flag to exclude files from TestStdLib
authorRobert Griesemer <gri@golang.org>
Sat, 29 Feb 2020 06:25:39 +0000 (22:25 -0800)
committerRobert Griesemer <gri@golang.org>
Tue, 3 Mar 2020 01:01:45 +0000 (01:01 +0000)
commit2001685ec01c240eda84762a3bc612ddd3ca93fe
tree6a1ffb62bad0dd903ac2fbe5291cf37c79b6e286
parent9828c43288a53d3df75b1f73edad0d037a91dff8
cmd/compile/internal/syntax: add -skip flag to exclude files from TestStdLib

TestStdLib reports parsed lines and lines/s information. To make
it easier to compare apples to apples when making changes in the
std lib, a regular expression provided via the -skip flag filters
files we don't want to process.

Change-Id: I27d9c32032eac4e78581205892e4f26947c91bd9
Reviewed-on: https://go-review.googlesource.com/c/go/+/221600
Reviewed-by: Emmanuel Odeke <emm.odeke@gmail.com>
src/cmd/compile/internal/syntax/parser_test.go