summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/testutil/BUILD
blob: 02ee86ff1e158d0a33a8d179f107181d0adefcab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
load("//tools:defs.bzl", "go_library", "go_test")

package(licenses = ["notice"])

go_library(
    name = "testutil",
    testonly = True,
    srcs = [
        "testutil.go",
        "testutil_unsafe.go",
    ],
    visibility = ["//visibility:public"],
    deps = ["//pkg/tcpip"],
)

go_test(
    name = "testutil_test",
    srcs = ["testutil_test.go"],
    library = ":testutil",
    deps = ["//pkg/tcpip"],
)