summaryrefslogtreecommitdiffhomepage
path: root/test/runtimes/BUILD
blob: 5616a8b7be85caf9388df97190fed57832464072 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# These packages are used to run language runtime tests inside gVisor sandboxes.

load("@io_bazel_rules_go//go:def.bzl", "go_library")
load("//test/runtimes: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/testutil"],
)