load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")

package(licenses = ["notice"])

go_test(
    name = "integration_test",
    size = "large",
    srcs = [
        "exec_test.go",
        "integration_test.go",
    ],
    embed = [":integration"],
    tags = [
        # Requires docker and runsc to be configured before the test runs.
        "manual",
        "local",
    ],
    deps = [
        "//pkg/abi/linux",
        "//runsc/test/testutil",
    ],
)

go_library(
    name = "integration",
    srcs = ["integration.go"],
    importpath = "gvisor.googlesource.com/gvisor/runsc/test/integration",
)