summaryrefslogtreecommitdiffhomepage
path: root/test/iptables/BUILD
blob: ae4bba84797c16911c31c93daff9c686288d415c (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
39
40
load("//tools:defs.bzl", "go_library", "go_test")

package(licenses = ["notice"])

go_library(
    name = "iptables",
    testonly = 1,
    srcs = [
        "filter_input.go",
        "filter_output.go",
        "iptables.go",
        "iptables_unsafe.go",
        "iptables_util.go",
        "nat.go",
    ],
    visibility = ["//test/iptables:__subpackages__"],
    deps = [
        "//pkg/binary",
        "//pkg/test/testutil",
        "//pkg/usermem",
    ],
)

go_test(
    name = "iptables_test",
    size = "large",
    srcs = [
        "iptables_test.go",
    ],
    data = ["//test/iptables/runner"],
    library = ":iptables",
    tags = [
        "local",
        "manual",
    ],
    deps = [
        "//pkg/test/dockerutil",
        "//pkg/test/testutil",
    ],
)