dashboard: enable builds for golang.org/x/term
After CL 200681 the golang.org/x/term package contains some code to
build/test.
Change-Id: I209792073c1ceeb1093d121e1a01b95ae2c35644
Reviewed-on: https://go-review.googlesource.com/c/build/+/200869
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/dashboard/builders.go b/dashboard/builders.go
index b99e80b..0f026a1 100644
--- a/dashboard/builders.go
+++ b/dashboard/builders.go
@@ -1025,9 +1025,6 @@
switch repo {
case "go":
return true
- case "term":
- // no code yet in repo
- return false
case "mobile", "exp":
// mobile and exp are opt-in.
return false
diff --git a/dashboard/builders_test.go b/dashboard/builders_test.go
index 729eae5..52d0178 100644
--- a/dashboard/builders_test.go
+++ b/dashboard/builders_test.go
@@ -382,7 +382,7 @@
{b("aix-ppc64", "net"), onlyPost},
{b("aix-ppc64", "mobile"), none},
{b("aix-ppc64", "exp"), none},
- {b("aix-ppc64", "term"), none},
+ {b("aix-ppc64", "term"), onlyPost},
{b("aix-ppc64@go1.12", "go"), onlyPost},
{b("aix-ppc64@go1.12", "net"), none},
{b("aix-ppc64@go1.12", "mobile"), none},