summaryrefslogtreecommitdiffhomepage
path: root/runsc/test/image/BUILD
diff options
context:
space:
mode:
Diffstat (limited to 'runsc/test/image/BUILD')
-rw-r--r--runsc/test/image/BUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/runsc/test/image/BUILD b/runsc/test/image/BUILD
new file mode 100644
index 000000000..2876d4256
--- /dev/null
+++ b/runsc/test/image/BUILD
@@ -0,0 +1,23 @@
+package(licenses = ["notice"]) # Apache 2.0
+
+load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
+
+go_test(
+ name = "image_test",
+ size = "small",
+ srcs = ["image_test.go"],
+ data = ["latin10k.txt"],
+ embed = [":image"],
+ tags = [
+ # Requires docker and runsc to be configured before the test runs.
+ "manual",
+ "local",
+ ],
+ deps = ["//runsc/test/testutil"],
+)
+
+go_library(
+ name = "image",
+ srcs = ["image.go"],
+ importpath = "gvisor.googlesource.com/gvisor/runsc/test/image",
+)