summaryrefslogtreecommitdiffhomepage
path: root/benchmarks/runner/BUILD
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-02-13 09:20:30 -0800
committergVisor bot <gvisor-bot@google.com>2020-02-13 09:21:39 -0800
commit3ad6d3056371b031fb0c16c4e365d5c7e60bdaf0 (patch)
tree6e1fa4fd140ff69b02dbc310f5e77a3cc50ae7bc /benchmarks/runner/BUILD
parentcf1e50a80976fae95eef4ab05d961200b04e2346 (diff)
Call py_requirement with named argument for optional kwarg.
PiperOrigin-RevId: 294930818
Diffstat (limited to 'benchmarks/runner/BUILD')
-rw-r--r--benchmarks/runner/BUILD17
1 files changed, 5 insertions, 12 deletions
diff --git a/benchmarks/runner/BUILD b/benchmarks/runner/BUILD
index fae0ca800..471debfdf 100644
--- a/benchmarks/runner/BUILD
+++ b/benchmarks/runner/BUILD
@@ -1,4 +1,5 @@
load("//tools:defs.bzl", "py_library", "py_requirement", "py_test")
+load("//benchmarks:defs.bzl", "test_deps")
package(licenses = ["notice"])
@@ -28,7 +29,7 @@ py_library(
"//benchmarks/suites:startup",
"//benchmarks/suites:sysbench",
"//benchmarks/suites:syscall",
- py_requirement("click", True),
+ py_requirement("click"),
],
)
@@ -36,7 +37,7 @@ py_library(
name = "commands",
srcs = ["commands.py"],
deps = [
- py_requirement("click", True),
+ py_requirement("click"),
],
)
@@ -48,16 +49,8 @@ py_test(
"local",
"manual",
],
- deps = [
+ deps = test_deps + [
":runner",
- py_requirement("click", True),
- 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),
+ py_requirement("click"),
],
)