-
Notifications
You must be signed in to change notification settings - Fork 156
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dashboard: remove x/build special case for Go 1.20
CL 556455 incurred some complexity to opt x/build out of testing with Go 1.20 sooner than it would've happened automatically. This complexity is no longer needed since Go 1.20 is fully unsupported now. Remove it. Updates golang/go#64169. Change-Id: I99128b9294c50439ed95a91b968a65f18d8fec03 Reviewed-on: https://go-review.googlesource.com/c/build/+/564134 Commit-Queue: Dmitri Shuralyov <[email protected]> Reviewed-by: Dmitri Shuralyov <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Jonathan Amsterdam <[email protected]> Auto-Submit: Dmitri Shuralyov <[email protected]>
- Loading branch information
Showing
3 changed files
with
8 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -722,13 +722,10 @@ func TestBuilderConfig(t *testing.T) { | |
// and darwin-amd64 and perhaps windows-amd64 (for stuff like gomote). | ||
// No need for any other operating systems to use it. | ||
{b("linux-amd64", "build"), both}, | ||
{b("[email protected]", "build"), none}, | ||
{b("linux-amd64-longtest", "build"), onlyPost}, | ||
{b("[email protected]", "build"), none}, | ||
{b("windows-amd64-2016", "build"), both}, | ||
{b("darwin-amd64-10_14", "build"), none}, | ||
{b("darwin-amd64-10_15", "build"), onlyPost}, | ||
{b("[email protected]", "build"), none}, | ||
{b("linux-amd64-fedora", "build"), none}, | ||
{b("linux-amd64-clang", "build"), none}, | ||
{b("linux-amd64-sid", "build"), none}, | ||
|
@@ -1216,18 +1213,15 @@ func TestHostConfigIsVM(t *testing.T) { | |
|
||
func TestDefaultPlusExpBuild(t *testing.T) { | ||
for _, tc := range []struct { | ||
repo string | ||
goBranch string | ||
want bool | ||
repo string | ||
want bool | ||
}{ | ||
{"exp", "master", true}, | ||
{"build", "master", true}, | ||
{"build", "release-branch.go1.21", true}, | ||
{"build", "release-branch.go1.20", false}, | ||
{"anything", "master", true}, | ||
{"vulndb", "master", false}, | ||
{"exp", true}, | ||
{"build", true}, | ||
{"anything", true}, | ||
{"vulndb", false}, | ||
} { | ||
got := defaultPlusExpBuild(tc.repo, "", tc.goBranch) | ||
got := defaultPlusExpBuild(tc.repo, "", "") | ||
if got != tc.want { | ||
t.Errorf("%s: got %t, want %t", tc.repo, got, tc.want) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters