diff options
author | Fabricio Voznika <fvoznika@google.com> | 2018-06-20 14:37:56 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-06-20 14:38:45 -0700 |
commit | 2b5bdb525e99fc1ef099b2ef083a09772241ea58 (patch) | |
tree | 5edbd587b8df55e933ed27416ef8bef0ab6fa30a /runsc/test/image/BUILD | |
parent | 4ad7315b6759afa81f492ec119080deb9a224101 (diff) |
Add end-to-end image tests
PiperOrigin-RevId: 201418619
Change-Id: I7961b027394d98422642f829bc54745838c138bd
Diffstat (limited to 'runsc/test/image/BUILD')
-rw-r--r-- | runsc/test/image/BUILD | 23 |
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", +) |