Skip to content

Commit 6d867c8

Browse files
committed
dashboard: add android subrepo trybots too
Missing from CL 172798 Updates golang/go#23824 Change-Id: I8f1b09ce8f52b555162b344ceddfbfe88e19ad4e Reviewed-on: https://go-review.googlesource.com/c/build/+/174079 Reviewed-by: Elias Naur <[email protected]> Run-TryBot: Elias Naur <[email protected]> TryBot-Result: Gobot Gobot <[email protected]>
1 parent 725da52 commit 6d867c8

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

dashboard/builders.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1994,7 +1994,11 @@ func init() {
19941994
Notes: "Android emulator on GCE",
19951995
numTryTestHelpers: 3,
19961996
tryBot: func(repo, branch, goBranch string) bool {
1997-
return (repo == "go" || repo == "mobile") && atLeastGo1(branch, 13) && atLeastGo1(goBranch, 13)
1997+
switch repo {
1998+
case "go", "mobile", "sys", "net", "tools", "crypto", "sync", "text", "time":
1999+
return atLeastGo1(branch, 13) && atLeastGo1(goBranch, 13)
2000+
}
2001+
return false
19982002
},
19992003
buildsRepo: func(repo, branch, goBranch string) bool {
20002004
switch repo {

dashboard/builders_test.go

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ func TestTrybots(t *testing.T) {
142142
repo: "sys",
143143
branch: "master",
144144
want: []string{
145+
"android-amd64-emu",
145146
"freebsd-386-11_2",
146147
"freebsd-amd64-11_2",
147148
"freebsd-amd64-12_0",
@@ -287,6 +288,13 @@ func TestBuilderConfig(t *testing.T) {
287288
{b("[email protected]", "mobile"), none},
288289
{b("[email protected]", "mobile"), both},
289290
{b("android-amd64-emu", "[email protected]"), both},
291+
{b("android-amd64-emu", "crypto"), both},
292+
{b("android-amd64-emu", "net"), both},
293+
{b("android-amd64-emu", "sync"), both},
294+
{b("android-amd64-emu", "sys"), both},
295+
{b("android-amd64-emu", "text"), both},
296+
{b("android-amd64-emu", "time"), both},
297+
{b("android-amd64-emu", "tools"), both},
290298

291299
{b("android-386-emu", "go"), onlyPost},
292300
{b("android-386-emu", "mobile"), onlyPost},

0 commit comments

Comments
 (0)