cmd/coordinator: add linux build tag to 3 more .go files
CL 157441 added linux build tag for linux-only tools.
In cmd/coordinator, that was done for almost all .go files,
but builders_test.go, reverse_test.go, and trybot_dev.go were missed.
That causes the package to fail to build when being tested
on non-linux environments:
$ go test golang.org/x/build/...
...
# golang.org/x/build/cmd/coordinator [golang.org/x/build/cmd/coordinator.test]
cmd/coordinator/builders_test.go:14:2: undefined: handleBuilders
FAIL golang.org/x/build/cmd/coordinator [build failed]
...
This change fixes that by adding the linux build tag to the
remaining files.
Change-Id: I942a3eb5dd499a1acd6e338d7ad795b5ea5de95d
Reviewed-on: https://go-review.googlesource.com/c/157498
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
diff --git a/cmd/coordinator/builders_test.go b/cmd/coordinator/builders_test.go
index c97eb41..8aff1b1 100644
--- a/cmd/coordinator/builders_test.go
+++ b/cmd/coordinator/builders_test.go
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build linux
+
package main
import (
diff --git a/cmd/coordinator/reverse_test.go b/cmd/coordinator/reverse_test.go
index b54aab0..1c8c0f3 100644
--- a/cmd/coordinator/reverse_test.go
+++ b/cmd/coordinator/reverse_test.go
@@ -2,6 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
+// +build linux
// +build BROKEN
// I get:
diff --git a/cmd/coordinator/trybot_dev.go b/cmd/coordinator/trybot_dev.go
index 4045bb7..b21ffa7 100644
--- a/cmd/coordinator/trybot_dev.go
+++ b/cmd/coordinator/trybot_dev.go
@@ -7,6 +7,7 @@
// Compile it into the binary by running go install -tags=dev, then load the
// dummy data at /try-dev in your browser.
+// +build linux
// +build dev
package main