From 2b5bdb525e99fc1ef099b2ef083a09772241ea58 Mon Sep 17 00:00:00 2001 From: Fabricio Voznika Date: Wed, 20 Jun 2018 14:37:56 -0700 Subject: Add end-to-end image tests PiperOrigin-RevId: 201418619 Change-Id: I7961b027394d98422642f829bc54745838c138bd --- runsc/test/image/BUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 runsc/test/image/BUILD (limited to 'runsc/test/image/BUILD') 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", +) -- cgit v1.2.3