2019-07-22 20:18:27 +00:00
|
|
|
# These packages are used to run language runtime tests inside gVisor sandboxes.
|
|
|
|
|
2019-07-26 17:56:43 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
2019-09-04 05:01:34 +00:00
|
|
|
load("//test/runtimes:build_defs.bzl", "runtime_test")
|
2019-07-22 20:18:27 +00:00
|
|
|
|
|
|
|
package(licenses = ["notice"])
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "runtimes",
|
|
|
|
srcs = ["runtimes.go"],
|
2019-07-29 21:15:51 +00:00
|
|
|
importpath = "gvisor.dev/gvisor/test/runtimes",
|
2019-07-22 20:18:27 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
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",
|
|
|
|
],
|
2019-09-04 05:01:34 +00:00
|
|
|
deps = ["//runsc/testutil"],
|
2019-07-22 20:18:27 +00:00
|
|
|
)
|