summaryrefslogtreecommitdiffhomepage
path: root/test/benchmarks/defs.bzl
diff options
context:
space:
mode:
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
+ )