Files
allwpilib/shared/bazel/rules/robotpy/pytest_util.bzl
PJ Reiniger 762d1e8b93 [copybara] mostrobotpy to allwpilib (#8545)
Project import generated by Copybara.
GitOrigin-RevId: f10284b37498bb6a088891ca41f160793ec7fd90
2026-01-12 19:11:02 -08:00

18 lines
543 B
Python

load("@rules_python_pytest//python_pytest:defs.bzl", "py_pytest_test")
load("//shared/bazel/rules/robotpy:compatibility_select.bzl", "robotpy_compatibility_select")
def robotpy_py_test(name, srcs, tags = [], size = "small", **kwargs):
py_pytest_test(
name = name,
size = size,
srcs = srcs,
target_compatible_with = robotpy_compatibility_select(),
tags = tags + [
"no-asan",
"no-tsan",
"robotpy",
],
legacy_create_init = 0,
**kwargs
)