@@ -870,7 +870,7 @@ func (c *BuildConfig) IsLongTest() bool {
870
870
// allowed to make outbound network requests. This is only enforced
871
871
// on some builders. (Currently most Linux ones)
872
872
func (c * BuildConfig ) OutboundNetworkAllowed () bool {
873
- return c .Name == "misc-vet-vetall" || c . IsLongTest ()
873
+ return c .IsLongTest ()
874
874
}
875
875
876
876
func (c * BuildConfig ) GoInstallRacePackages () []string {
@@ -1381,22 +1381,11 @@ func init() {
1381
1381
})
1382
1382
}
1383
1383
1384
- // Add the -vetall builder. The builder name suffix "-vetall" is recognized by cmd/dist/test.go
1385
- // to only run the "go vet std cmd" test and no others.
1386
- addBuilder (BuildConfig {
1387
- Name : "misc-vet-vetall" ,
1388
- HostType : "host-linux-jessie" ,
1389
- Notes : "Runs vet over the standard library." ,
1390
- buildsRepo : func (repo , branch , goBranch string ) bool {
1391
- return repo == "go" && branch == "master"
1392
- },
1393
- tryBot : defaultTrySet (),
1394
- env : []string {
1395
- "GO_DISABLE_OUTBOUND_NETWORK=1" ,
1396
- },
1397
- numTestHelpers : 5 ,
1398
- })
1399
-
1384
+ // addMiscCompile adds a misc-compile builder that runs
1385
+ // buildall.bash on a subset of platforms matching the egrep
1386
+ // pattern rx. The pattern is matched against the "go tool
1387
+ // dist list" name, but with hyphens instead of forward
1388
+ // slashes ("linux-amd64", etc).
1400
1389
addMiscCompile := func (suffix , rx string ) {
1401
1390
addBuilder (BuildConfig {
1402
1391
Name : "misc-compile" + suffix ,
@@ -1407,23 +1396,28 @@ func init() {
1407
1396
},
1408
1397
tryOnly : true ,
1409
1398
CompileOnly : true ,
1410
- Notes : "Runs buildall.sh to cross-compile std packages for " + rx + ", but doesn't run any tests." ,
1399
+ Notes : "Runs buildall.sh to cross-compile & vet std+cmd packages for " + rx + ", but doesn't run any tests." ,
1411
1400
allScriptArgs : []string {
1412
1401
// Filtering pattern to buildall.bash:
1413
1402
rx ,
1414
1403
},
1415
1404
})
1416
1405
}
1417
- addMiscCompile ("" , "^(linux-arm64|linux-s390x|solaris-amd64|darwin-386)$" ) // 4 ports
1418
- addMiscCompile ("-nacl" , "^nacl" ) // 3
1419
- addMiscCompile ("-mips" , "^linux-mips" ) // 4
1420
- addMiscCompile ("-ppc" , "^linux-ppc64" ) // 2
1421
- addMiscCompile ("-plan9" , "^plan9-" ) // 3
1422
- addMiscCompile ("-freebsd" , "^freebsd-" ) // 3
1423
- addMiscCompile ("-netbsd" , "^netbsd-" ) // 3
1424
- addMiscCompile ("-openbsd" , "^openbsd-" ) // 3
1425
- // TODO: Issue 25963, get the misc-compile trybots for mobile working, and then:
1426
- // addMiscCompile("-mobile", "(^android|darwin-arm64)") // 5 ports
1406
+ addMiscCompile ("-linuxarm" , "^linux-arm" ) // 2: arm, arm64
1407
+ addMiscCompile ("-darwin" , "^darwin" ) // 4: 386, amd64 + iOS: armb, arm64
1408
+ addMiscCompile ("-nacl" , "^nacl" ) // 3: arm, 386, amd64p32
1409
+ addMiscCompile ("-mips" , "^linux-mips" ) // 4: mips, mipsle, mips64, mips64le
1410
+ addMiscCompile ("-ppc" , "^(linux-ppc64|aix-)" ) // 3: linux-ppc64{,le}, aix-ppc64
1411
+ addMiscCompile ("-solaris" , "^(solaris|illumos)" ) // 2: both amd64
1412
+ addMiscCompile ("-plan9" , "^plan9-" ) // 3: amd64, 386, arm
1413
+ addMiscCompile ("-freebsd" , "^freebsd-(386|arm)" ) // 2: 386, arm (amd64 already trybot)
1414
+ addMiscCompile ("-netbsd" , "^netbsd-" ) // 4: amd64, 386, arm, arm64
1415
+ addMiscCompile ("-openbsd" , "^openbsd-" ) // 4: amd64, 386, arm, arm64
1416
+ // And 3 that don't fit above:
1417
+ addMiscCompile ("-other" , "^(windows-arm|linux-s390x|dragonfly-amd64)$" )
1418
+ // TODO: Issue 25963, get the misc-compile trybots for
1419
+ // subrepos too, so "mobile" can at least be included as a
1420
+ // misc-compile for ^android- and ^darwin-arm.
1427
1421
1428
1422
addBuilder (BuildConfig {
1429
1423
Name : "linux-amd64-nocgo" ,
0 commit comments