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

     1  load("//tools:defs.bzl", "go_library")
     2  load("//test/benchmarks:defs.bzl", "benchmark_test")
     3  
     4  package(licenses = ["notice"])
     5  
     6  go_library(
     7      name = "network",
     8      testonly = 1,
     9      srcs = [
    10          "network.go",
    11      ],
    12      deps = [
    13          "//pkg/test/dockerutil",
    14          "//test/benchmarks/harness",
    15          "//test/benchmarks/tools",
    16      ],
    17  )
    18  
    19  benchmark_test(
    20      name = "iperf_test",
    21      srcs = [
    22          "iperf_test.go",
    23      ],
    24      library = ":network",
    25      visibility = ["//:sandbox"],
    26      deps = [
    27          "//pkg/test/dockerutil",
    28          "//pkg/test/testutil",
    29          "//test/benchmarks/harness",
    30          "//test/benchmarks/tools",
    31      ],
    32  )
    33  
    34  benchmark_test(
    35      name = "node_test",
    36      srcs = [
    37          "node_test.go",
    38      ],
    39      library = ":network",
    40      visibility = ["//:sandbox"],
    41      deps = [
    42          "//pkg/test/dockerutil",
    43          "//test/benchmarks/harness",
    44          "//test/benchmarks/tools",
    45      ],
    46  )
    47  
    48  benchmark_test(
    49      name = "ruby_test",
    50      srcs = [
    51          "ruby_test.go",
    52      ],
    53      library = ":network",
    54      visibility = ["//:sandbox"],
    55      deps = [
    56          "//pkg/test/dockerutil",
    57          "//test/benchmarks/harness",
    58          "//test/benchmarks/tools",
    59      ],
    60  )
    61  
    62  benchmark_test(
    63      name = "nginx_test",
    64      srcs = [
    65          "nginx_test.go",
    66      ],
    67      library = ":network",
    68      visibility = ["//:sandbox"],
    69      deps = [
    70          "//pkg/test/dockerutil",
    71          "//test/benchmarks/harness",
    72          "//test/benchmarks/tools",
    73      ],
    74  )
    75  
    76  benchmark_test(
    77      name = "httpd_test",
    78      srcs = [
    79          "httpd_test.go",
    80      ],
    81      library = ":network",
    82      visibility = ["//:sandbox"],
    83      deps = [
    84          "//pkg/test/dockerutil",
    85          "//pkg/test/testutil",
    86          "//test/benchmarks/harness",
    87          "//test/benchmarks/tools",
    88      ],
    89  )