gvisor.dev/gvisor@v0.0.0-20240520182842-f9d4d51c7e0f/test/benchmarks/defs.bzl (about) 1 """Defines a rule for benchmark test targets.""" 2 3 load("//tools:defs.bzl", "go_test") 4 5 def benchmark_test(name, tags = [], **kwargs): 6 go_test( 7 name, 8 tags = tags + [ 9 # Requires docker and runsc to be configured before the test runs. 10 "local", 11 "manual", 12 "gvisor_benchmark", 13 ], 14 # Benchmark test binaries are built inside a bazel docker container in 15 # OSS but are executed directly on the host. Use static binaries to 16 # avoid hitting glibc incompatibility. 17 static = True, 18 **kwargs 19 )