]> Cypherpunks repositories - gostls13.git/commit
cmd/dist: ignore packages with no Go files in BenchmarkAll
authorIan Lance Taylor <iant@golang.org>
Tue, 14 Jan 2025 14:58:32 +0000 (06:58 -0800)
committerGopher Robot <gobot@golang.org>
Tue, 14 Jan 2025 15:27:27 +0000 (07:27 -0800)
commitc83f2ca4b3964917adc3b06f661785cc6b53792d
tree096d6e436ba85892bad9c4216505111c990ca0c5
parent6da16013ba4444e0d71540f68279f0283a92d05d
cmd/dist: ignore packages with no Go files in BenchmarkAll

This case recently started happening on the builders.
The synctest experiment was recently enabled for some targets (CL 642422).
This caused the list of standard packages to include testing/synctest.
However, BenchmarkAll tests for all configurations;
some did not include testing/synctest. That caused the test to crash.

Change-Id: Icade10af147c2e2bcbac25bf744919083db3e70f
Reviewed-on: https://go-review.googlesource.com/c/go/+/642397
Auto-Submit: Ian Lance Taylor <iant@google.com>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: Ian Lance Taylor <iant@google.com>
Reviewed-by: Russ Cox <rsc@golang.org>
src/cmd/api/api_test.go