mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
30 lines
518 B
Python
30 lines
518 B
Python
load("@swift_codegen_deps//:requirements.bzl", "requirement")
|
|
|
|
py_library(
|
|
name = "utils",
|
|
testonly = True,
|
|
srcs = ["utils.py"],
|
|
deps = [
|
|
"//swift/codegen/lib",
|
|
requirement("pytest"),
|
|
],
|
|
)
|
|
|
|
[
|
|
py_test(
|
|
name = src[:-len(".py")],
|
|
size = "small",
|
|
srcs = [src],
|
|
deps = [
|
|
":utils",
|
|
"//swift/codegen",
|
|
"//swift/codegen:trapgen",
|
|
],
|
|
)
|
|
for src in glob(["test_*.py"])
|
|
]
|
|
|
|
test_suite(
|
|
name = "test",
|
|
)
|