github.com/SagerNet/gvisor@v0.0.0-20210707092255-7731c139d75c/test/packetimpact/runner/BUILD (about)

     1  load("//tools:defs.bzl", "bzl_library", "go_library", "go_test")
     2  
     3  package(
     4      default_visibility = ["//test/packetimpact:__subpackages__"],
     5      licenses = ["notice"],
     6  )
     7  
     8  go_test(
     9      name = "packetimpact_test",
    10      srcs = [
    11          "packetimpact_test.go",
    12      ],
    13      tags = [
    14          # Not intended to be run directly.
    15          "local",
    16          "manual",
    17      ],
    18      deps = [":runner"],
    19  )
    20  
    21  bzl_library(
    22      name = "defs_bzl",
    23      srcs = ["defs.bzl"],
    24      visibility = ["//test/packetimpact:__subpackages__"],
    25  )
    26  
    27  go_library(
    28      name = "runner",
    29      testonly = True,
    30      srcs = ["dut.go"],
    31      visibility = ["//test/packetimpact:__subpackages__"],
    32      deps = [
    33          "//pkg/test/dockerutil",
    34          "//test/packetimpact/netdevs",
    35          "//test/packetimpact/testbench",
    36          "@com_github_docker_docker//api/types/mount:go_default_library",
    37      ],
    38  )