Skip to content

Commit

Permalink
go: update pass-through go test options for Go v1.20 (pantsbuild#18229
Browse files Browse the repository at this point in the history
)

Update the list of pass-through `go test` options for Go v1.20.
  • Loading branch information
tdyas authored Feb 16, 2023
1 parent 31d21e0 commit 24b3363
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/python/pants/backend/go/go_sources/gentestflags.go
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ func testFlags() map[string]bool {
name := strings.TrimPrefix(f.Name, "test.")

switch name {
case "testlogfile", "paniconexit0", "fuzzcachedir", "fuzzworker":
case "testlogfile", "paniconexit0", "fuzzcachedir", "fuzzworker", "gocoverdir":
// These flags are only for use by cmd/go.
default:
expectsValue := true
Expand Down
1 change: 1 addition & 0 deletions src/python/pants/backend/go/goals/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@
"run": True,
"short": False,
"shuffle": True,
"skip": True,
"timeout": True,
"trace": True,
"v": False,
Expand Down

0 comments on commit 24b3363

Please sign in to comment.