summaryrefslogtreecommitdiffhomepage
path: root/test/iptables/BUILD
blob: 6bb3b82b5eb88288a08e3e059f921b390c3b4f43 (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
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_util.go",
        "nat.go",
    ],
    visibility = ["//test/iptables:__subpackages__"],
    deps = [
        "//runsc/testutil",
    ],
)

go_test(
    name = "iptables_test",
    srcs = [
        "iptables_test.go",
    ],
    library = ":iptables",
    tags = [
        "local",
        "manual",
    ],
    deps = [
        "//pkg/log",
        "//runsc/dockerutil",
        "//runsc/testutil",
    ],
)