Files
allwpilib/shared/bazel/rules/robotpy/pytest_util.bzl
PJ Reiniger bdc9391738 [py] Fix opmodes (#8498)
Co-authored-by: David Vo <auscompgeek@users.noreply.github.com>
2025-12-31 09:05:00 -08:00

18 lines
530 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 = [], **kwargs):
py_pytest_test(
name = name,
size = "small",
srcs = srcs,
target_compatible_with = robotpy_compatibility_select(),
tags = tags + [
"no-asan",
"no-tsan",
"robotpy",
],
legacy_create_init = 0,
**kwargs
)