summaryrefslogtreecommitdiffhomepage
path: root/test/benchmarks/defs.bzl
diff options
context:
space:
mode:
authorZach Koopmans <zkoopmans@google.com>2020-12-07 16:17:14 -0800
committergVisor bot <gvisor-bot@google.com>2020-12-07 16:20:12 -0800
commit6d30688bd70370fd9327cd3fca178bb85342cc2a (patch)
tree6a806c2c5d9ae0a8f91180f73422df1d69b4a8b4 /test/benchmarks/defs.bzl
parent615c3380d297ee3c61e47fb48a4cca87f7c99ba0 (diff)
Fix tags on benchmark targets.
PiperOrigin-RevId: 346203209
Diffstat (limited to 'test/benchmarks/defs.bzl')
-rw-r--r--test/benchmarks/defs.bzl14
1 files changed, 14 insertions, 0 deletions
diff --git a/test/benchmarks/defs.bzl b/test/benchmarks/defs.bzl
new file mode 100644
index 000000000..ef44b46e3
--- /dev/null
+++ b/test/benchmarks/defs.bzl
@@ -0,0 +1,14 @@
+"""Defines a rule for benchmark test targets."""
+
+load("//tools:defs.bzl", "go_test")
+
+def benchmark_test(name, tags = [], **kwargs):
+ go_test(
+ name,
+ tags = [
+ # Requires docker and runsc to be configured before the test runs.
+ "local",
+ "manual",
+ ],
+ **kwargs
+ )