Files
codeql/swift/logging/tests/assertion-diagnostics/BUILD.bazel
2023-05-16 19:40:00 +01:00

26 lines
572 B
Python

load("//swift:rules.bzl", "swift_cc_binary")
load("//misc/bazel/cmake:cmake.bzl", "generate_cmake")
swift_cc_binary(
name = "assert-false",
srcs = ["AssertFalse.cpp"],
visibility = ["//visibility:private"],
deps = [
"//swift/logging",
],
)
py_test(
name = "test",
size = "small",
srcs = ["test.py"],
deps = ["//swift/integration-tests:integration_tests"],
data = [":assert-false", "diagnostics.expected"],
)
generate_cmake(
name = "cmake",
targets = [":assert-false"],
visibility = ["//visibility:public"],
)