summaryrefslogtreecommitdiffhomepage
path: root/test/runtimes/BUILD
diff options
context:
space:
mode:
authorSamantha Sample <samsample@google.com>2019-07-29 14:15:51 -0700
committergVisor bot <gvisor-bot@google.com>2019-07-29 14:17:11 -0700
commit8e8b6096116eb490b438a53061195f737d4eca8b (patch)
treeee0af6ddec5c18483fe2bc783382b62760e751ee /test/runtimes/BUILD
parent09be87bbee1e4338b488f22199d0f079ffec8d0e (diff)
Move runtimes tests to appropriate directory.
PiperOrigin-RevId: 260577765
Diffstat (limited to 'test/runtimes/BUILD')
-rw-r--r--test/runtimes/BUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/test/runtimes/BUILD b/test/runtimes/BUILD
new file mode 100644
index 000000000..e85804a83
--- /dev/null
+++ b/test/runtimes/BUILD
@@ -0,0 +1,25 @@
+# These packages are used to run language runtime tests inside gVisor sandboxes.
+
+load("@io_bazel_rules_go//go:def.bzl", "go_library")
+load("//runsc/test:build_defs.bzl", "runtime_test")
+
+package(licenses = ["notice"])
+
+go_library(
+ name = "runtimes",
+ srcs = ["runtimes.go"],
+ importpath = "gvisor.dev/gvisor/test/runtimes",
+)
+
+runtime_test(
+ name = "runtimes_test",
+ size = "small",
+ srcs = ["runtimes_test.go"],
+ embed = [":runtimes"],
+ tags = [
+ # Requires docker and runsc to be configured before the test runs.
+ "manual",
+ "local",
+ ],
+ deps = ["//runsc/test/testutil"],
+)