summaryrefslogtreecommitdiffhomepage
path: root/test/runtimes/BUILD
blob: e85804a83e4c581c1fafa45892b3e00298753023 (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("//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"],
)