Skip to content

Commit eb12582

Browse files
committed
cmd/coordinator: add a misc-vet-vetall to the trybot set
vet checks for all. josharian rejoices. Updates golang/go#11041 Change-Id: I1877c0523ba14bbe3a181323aa9ff058797fc4ab Reviewed-on: https://go-review.googlesource.com/37614 Reviewed-by: Josh Bleecher Snyder <[email protected]>
1 parent 548e7d6 commit eb12582

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

cmd/coordinator/coordinator.go

+1-15
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ func initTryBuilders() {
109109
"nacl-386",
110110
"nacl-amd64p32",
111111
"linux-arm",
112+
"misc-vet-vetall",
112113
}
113114
for name := range dashboard.Builders {
114115
if strings.HasPrefix(name, "misc-compile") {
@@ -400,18 +401,6 @@ func numCurrentBuilds() int {
400401
return len(status)
401402
}
402403

403-
func numCurrentVetAllBuilds() int {
404-
statusMu.Lock()
405-
defer statusMu.Unlock()
406-
n := 0
407-
for br := range status {
408-
if strings.HasSuffix(br.name, "-vetall") {
409-
n++
410-
}
411-
}
412-
return n
413-
}
414-
415404
func isBuilding(work builderRev) bool {
416405
statusMu.Lock()
417406
defer statusMu.Unlock()
@@ -431,9 +420,6 @@ func mayBuildRev(rev builderRev) bool {
431420
if isBuilding(rev) {
432421
return false
433422
}
434-
if strings.HasSuffix(rev.name, "-vetall") && numCurrentVetAllBuilds() > 0 {
435-
return false
436-
}
437423
if buildEnv.MaxBuilds > 0 && numCurrentBuilds() >= buildEnv.MaxBuilds {
438424
return false
439425
}

0 commit comments

Comments
 (0)