@@ -2050,6 +2050,15 @@ func init() {
2050
2050
Name : "illumos-amd64-joyent" ,
2051
2051
HostType : "host-illumos-amd64-joyent" ,
2052
2052
MinimumGoVersion : types.MajorMinor {1 , 13 },
2053
+ buildsRepo : func (repo , branch , goBranch string ) bool {
2054
+ if repo == "review" {
2055
+ // '.git/hooks/pre-commit' cannot be executed on this builder,
2056
+ // which causes the x/review tests to fail.
2057
+ // (https://golang.org/issue/32836)
2058
+ return false
2059
+ }
2060
+ return defaultBuildsRepoPolicy (repo , branch , goBranch )
2061
+ },
2053
2062
})
2054
2063
addBuilder (BuildConfig {
2055
2064
Name : "linux-ppc64-buildlet" ,
@@ -2120,6 +2129,15 @@ func init() {
2120
2129
HostType : "host-dragonfly-amd64-tdfbsd" ,
2121
2130
shouldRunDistTest : noTestDir ,
2122
2131
SkipSnapshot : true ,
2132
+ buildsRepo : func (repo , branch , goBranch string ) bool {
2133
+ if repo == "review" {
2134
+ // '.git/hooks/pre-commit' cannot be executed on this builder,
2135
+ // which causes the x/review tests to fail.
2136
+ // (https://golang.org/issue/32836)
2137
+ return false
2138
+ }
2139
+ return defaultBuildsRepoPolicy (repo , branch , goBranch )
2140
+ },
2123
2141
})
2124
2142
addBuilder (BuildConfig {
2125
2143
Name : "freebsd-arm-paulzhol" ,
@@ -2195,6 +2213,12 @@ func init() {
2195
2213
// The x/net package wasn't working in Go 1.12; AIX folk plan to have
2196
2214
// it ready by Go 1.13. See https://golang.org/issue/31564#issuecomment-484786144
2197
2215
return atLeastGo1 (branch , 13 ) && atLeastGo1 (goBranch , 13 )
2216
+ case "review" , "tools" , "tour" :
2217
+ // The PATH on this builder is misconfigured in a way that causes tests
2218
+ // in x/review, x/tools and x/tour to fail
2219
+ // (https://golang.org/issue/31567).
2220
+ // Skip those until the builder is fixed.
2221
+ return false
2198
2222
}
2199
2223
return atLeastGo1 (branch , 12 ) && atLeastGo1 (goBranch , 12 ) && defaultBuildsRepoPolicy (repo , branch , goBranch )
2200
2224
},
0 commit comments