mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
Previously, we were using 8.0.0rc1. In particular, this upgrade means we need to explicitly import more rules, as they've been moved out of the core bazel repo.
31 lines
636 B
Python
31 lines
636 B
Python
load("@rules_python//python:defs.bzl", "py_test")
|
|
|
|
[
|
|
py_test(
|
|
name = test_dir + "-test",
|
|
size = "small",
|
|
srcs = ["autobuild_tester.py"],
|
|
args = [
|
|
"$(location //swift/swift-autobuilder)",
|
|
"$(location %s)" % test_dir,
|
|
],
|
|
data = [
|
|
"//swift/swift-autobuilder",
|
|
test_dir,
|
|
] + glob([test_dir + "/**/*"]),
|
|
main = "autobuild_tester.py",
|
|
)
|
|
for test_dir in glob(
|
|
["*"],
|
|
exclude = [
|
|
"*.*",
|
|
".*",
|
|
],
|
|
exclude_directories = 0,
|
|
)
|
|
]
|
|
|
|
test_suite(
|
|
name = "tests",
|
|
)
|