summaryrefslogtreecommitdiffhomepage
path: root/benchmarks/workloads/iperf/BUILD
blob: 570f40148226eb6267b1fc1a61ba4a1258b39b8d (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
load("//tools:defs.bzl", "pkg_tar", "py_library", "py_requirement", "py_test")

package(
    default_visibility = ["//benchmarks:__subpackages__"],
    licenses = ["notice"],
)

py_library(
    name = "iperf",
    srcs = ["__init__.py"],
)

py_test(
    name = "iperf_test",
    srcs = ["iperf_test.py"],
    python_version = "PY3",
    deps = [
        ":iperf",
        py_requirement("attrs", False),
        py_requirement("atomicwrites", False),
        py_requirement("more-itertools", False),
        py_requirement("pathlib2", False),
        py_requirement("pluggy", False),
        py_requirement("py", False),
        py_requirement("pytest", True),
        py_requirement("six", False),
    ],
)

pkg_tar(
    name = "tar",
    srcs = [
        "Dockerfile",
    ],
)