summaryrefslogtreecommitdiffhomepage
path: root/test/packetimpact/runner/BUILD
blob: 888c443439b6621689fa7fe5b819369cd687b112 (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
38
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",
        "//test/packetimpact/testbench",
        "@com_github_docker_docker//api/types/mount:go_default_library",
    ],
)