Files
codeql/swift/swift-autobuilder/tests/BUILD.bazel
Cornelius Riemenschneider 53ca5083a9 Upgrade bazel to 8.0.0.
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.
2024-12-10 12:05:37 +01:00

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",
)