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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
load("//tools:defs.bzl", "py_library", "py_requirement", "py_test")
load("//benchmarks:defs.bzl", "test_deps")
package(licenses = ["notice"])
py_library(
name = "runner",
srcs = ["__init__.py"],
data = [
"//benchmarks/workloads:files",
],
visibility = ["//benchmarks:__pkg__"],
deps = [
":commands",
"//benchmarks/harness:benchmark_driver",
"//benchmarks/harness/machine_producers:machine_producer",
"//benchmarks/harness/machine_producers:mock_producer",
"//benchmarks/harness/machine_producers:yaml_producer",
"//benchmarks/suites",
"//benchmarks/suites:absl",
"//benchmarks/suites:density",
"//benchmarks/suites:fio",
"//benchmarks/suites:helpers",
"//benchmarks/suites:http",
"//benchmarks/suites:media",
"//benchmarks/suites:ml",
"//benchmarks/suites:network",
"//benchmarks/suites:redis",
"//benchmarks/suites:startup",
"//benchmarks/suites:sysbench",
"//benchmarks/suites:syscall",
py_requirement("click"),
],
)
py_library(
name = "commands",
srcs = ["commands.py"],
deps = [
py_requirement("click"),
],
)
py_test(
name = "runner_test",
srcs = ["runner_test.py"],
python_version = "PY3",
tags = [
"local",
"manual",
],
deps = test_deps + [
":runner",
py_requirement("click"),
],
)
|