dashboard: don't test subrepos on both macOS 10.11 and 10.12
Just the latter. Reduce resource usage on limited Macs.
Change-Id: Ia282627235c39d74adc9e059d8f39ed8e770473a
Reviewed-on: https://go-review.googlesource.com/c/build/+/167999
Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
diff --git a/dashboard/builders_test.go b/dashboard/builders_test.go
index 45c8c6e..5d7ec5f 100644
--- a/dashboard/builders_test.go
+++ b/dashboard/builders_test.go
@@ -415,6 +415,14 @@
// Experimental exp repo.
{b("linux-amd64", "exp"), both},
{b("windows-386-2008", "exp"), both},
+
+ // Only use latest macOS for subrepos, and only amd64:
+ {b("darwin-amd64-10_12", "net"), onlyPost},
+ {b("darwin-amd64-10_12@go1.11", "net"), onlyPost},
+ {b("darwin-amd64-10_11", "net"), none},
+ {b("darwin-amd64-10_11@go1.11", "net"), none},
+ {b("darwin-amd64-10_11@go1.12", "net"), none},
+ {b("darwin-386-10_11@go1.11", "net"), none},
}
for _, tt := range tests {
t.Run(tt.br.testName, func(t *testing.T) {