bazel: Enable revcache_test in bazel.
-load("@io_bazel_rules_go//go:def.bzl", "go_library")
+load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "go_default_library",
@@ -16,3 +16,20 @@ go_library(
"//go/lib/periodic:go_default_library",
],
)
+
+go_test(
+ name = "go_default_test",
+ srcs = ["revcache_test.go"],
+ embed = [":go_default_library"],
+ deps = [
+ "//go/lib/addr:go_default_library",
+ "//go/lib/common:go_default_library",
+ "//go/lib/ctrl/path_mgmt:go_default_library",
+ "//go/lib/revcache/mock_revcache:go_default_library",
+ "//go/lib/util:go_default_library",
+ "//go/lib/xtest:go_default_library",
+ "//go/proto:go_default_library",
+ "@com_github_golang_mock//gomock:go_default_library",
+ "@com_github_smartystreets_goconvey//convey:go_default_library",
+ ],
+)
