summaryrefslogtreecommitdiffhomepage
path: root/test/packetimpact/runner/BUILD
blob: 605dd49729c6eb0941e2a69545ebb4c9a6ce4842 (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
26
27
28
29
30
31
32
33
34
35
36
37
load("//tools:defs.bzl", "bzl_library", "go_library", "go_test")

package(
    default_visibility = ["//test/packetimpact:__subpackages__"],
    licenses = ["notice"],
)

go_test(
    name = "packetimpact_test",
    srcs = [
        "packetimpact_test.go",
    ],
    tags = [
        # Not intended to be run directly.
        "local",
        "manual",
    ],
    deps = [":runner"],
)

bzl_library(
    name = "defs_bzl",
    srcs = ["defs.bzl"],
    visibility = ["//test/packetimpact:__subpackages__"],
)

go_library(
    name = "runner",
    testonly = True,
    srcs = ["dut.go"],
    visibility = ["//test/packetimpact:__subpackages__"],
    deps = [
        "//pkg/test/dockerutil",
        "//test/packetimpact/netdevs",
        "@com_github_docker_docker//api/types/mount:go_default_library",
    ],
)