all: add build tags to ignore things using sqlite on plan9
Sqlite3 doesn't run on plan9, so don't try to build/test things that
depend on it.
But still keep testing the other tools in x/perf on plan9.
Change-Id: I10076040827dd527061d10c661a97882a8f84d6b
Reviewed-on: https://go-review.googlesource.com/80697
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
diff --git a/storage/app/upload_test.go b/storage/app/upload_test.go
index 0bc92ee..7260aa1 100644
--- a/storage/app/upload_test.go
+++ b/storage/app/upload_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 !plan9
+
package app
import (
diff --git a/storage/db/dbtest/cloud.go b/storage/db/dbtest/cloud.go
index 5f418b6..3ddfd93 100644
--- a/storage/db/dbtest/cloud.go
+++ b/storage/db/dbtest/cloud.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build cloud
+// +build cloud,!plan9
package dbtest
diff --git a/storage/db/dbtest/dbtest.go b/storage/db/dbtest/dbtest.go
index c0cb339..8fb0692 100644
--- a/storage/db/dbtest/dbtest.go
+++ b/storage/db/dbtest/dbtest.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 !plan9
+
package dbtest
import (
diff --git a/storage/db/dbtest/nocloud.go b/storage/db/dbtest/nocloud.go
index 8b8117f..ba43c13 100644
--- a/storage/db/dbtest/nocloud.go
+++ b/storage/db/dbtest/nocloud.go
@@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build !cloud
+// +build !cloud,!plan9
package dbtest
diff --git a/storage/db/sqlite3/sqlite3.go b/storage/db/sqlite3/sqlite3.go
index 9fb50c5..6efb041 100644
--- a/storage/db/sqlite3/sqlite3.go
+++ b/storage/db/sqlite3/sqlite3.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 !plan9
+
// Package sqlite3 provides the sqlite3 driver for
// x/perf/storage/db. It must be imported instead of go-sqlite3 to
// ensure foreign keys are properly honored.
diff --git a/storage/localperfdata/app.go b/storage/localperfdata/app.go
index 8e90214..8c34828 100644
--- a/storage/localperfdata/app.go
+++ b/storage/localperfdata/app.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 !plan9
+
// Localperfdata runs an HTTP server for benchmark storage.
//
// Usage: