зеркало из https://github.com/golang/build.git
dashboard: don't use -restart for all.bash on iOS
Follow-up to CL 175077. Updates golang/go#31828 Change-Id: I110d0891d82083ebd196dbbefa2f9546027931a1 Reviewed-on: https://go-review.googlesource.com/c/build/+/175081 Run-TryBot: Elias Naur <mail@eliasnaur.com> TryBot-Result: Gobot Gobot <gobot@golang.org> Reviewed-by: Andrew Bonventre <andybons@golang.org>
This commit is contained in:
Родитель
97a0a3fd41
Коммит
9b59625ee6
|
@ -1058,7 +1058,7 @@ func defaultPlusExp(repo, branch, goBranch string) bool {
|
|||
// AllScriptArgs returns the set of arguments that should be passed to the
|
||||
// all.bash-equivalent script. Usually empty.
|
||||
func (c *BuildConfig) AllScriptArgs() []string {
|
||||
if strings.HasPrefix(c.Name, "darwin-arm") {
|
||||
if strings.HasPrefix(c.Name, "darwin-arm") && !strings.Contains(c.Name, "corellium") {
|
||||
return []string{"-restart"}
|
||||
}
|
||||
return append([]string(nil), c.allScriptArgs...)
|
||||
|
|
Загрузка…
Ссылка в новой задаче