mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[bazel][robotpy] Add mirror for robotpy's wpiuil and wpinet libraries (#8062)
Project import generated by Copybara. GitOrigin-RevId: 92ea93d1b47a82667044bd0af05f7fdb34d2c2c2
This commit is contained in:
17
shared/bazel/rules/robotpy/pytest_util.bzl
Normal file
17
shared/bazel/rules/robotpy/pytest_util.bzl
Normal file
@@ -0,0 +1,17 @@
|
||||
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, **kwargs):
|
||||
py_pytest_test(
|
||||
name = name,
|
||||
size = "small",
|
||||
srcs = srcs,
|
||||
target_compatible_with = robotpy_compatibility_select(),
|
||||
tags = [
|
||||
"no-asan",
|
||||
"no-tsan",
|
||||
"robotpy",
|
||||
],
|
||||
legacy_create_init = 0,
|
||||
**kwargs
|
||||
)
|
||||
Reference in New Issue
Block a user