summaryrefslogtreecommitdiffhomepage
path: root/test/runtimes/runner/lib/BUILD
diff options
context:
space:
mode:
authorAdin Scannell <ascannell@google.com>2020-09-29 18:33:11 -0700
committergVisor bot <gvisor-bot@google.com>2020-09-29 18:34:59 -0700
commitd4d9238c52ee8eae127f566f1119d915fb6c1a00 (patch)
tree7fd0086c22e773e1013ba0c45b2947dff51d4d24 /test/runtimes/runner/lib/BUILD
parent387501219e87701a6adeb8417542927ee39b9950 (diff)
Stop depending on go_binary targets.
Closes #3374 PiperOrigin-RevId: 334505627
Diffstat (limited to 'test/runtimes/runner/lib/BUILD')
-rw-r--r--test/runtimes/runner/lib/BUILD22
1 files changed, 22 insertions, 0 deletions
diff --git a/test/runtimes/runner/lib/BUILD b/test/runtimes/runner/lib/BUILD
new file mode 100644
index 000000000..d308f41b0
--- /dev/null
+++ b/test/runtimes/runner/lib/BUILD
@@ -0,0 +1,22 @@
+load("//tools:defs.bzl", "go_library", "go_test")
+
+package(licenses = ["notice"])
+
+go_library(
+ name = "lib",
+ testonly = 1,
+ srcs = ["lib.go"],
+ visibility = ["//test/runtimes/runner:__pkg__"],
+ deps = [
+ "//pkg/log",
+ "//pkg/test/dockerutil",
+ "//pkg/test/testutil",
+ ],
+)
+
+go_test(
+ name = "lib_test",
+ size = "small",
+ srcs = ["exclude_test.go"],
+ library = ":lib",
+)