blob: a69d05dda00ea4483ad040870002bec0d37f154a [file] [edit]
# Copyright 2026 The Fuchsia Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
load("//build/bazel/rules/host_tests:host_py_test.bzl", "host_py_test")
load("//build/bazel/rules/python:py_zipapp_binary.bzl", "py_zipapp_binary")
package(default_applicable_licenses = ["//:license"])
test_suite(
name = "host_tests",
tests = [":status_test"],
visibility = ["//tools:__pkg__"],
)
py_zipapp_binary(
name = "status",
srcs = [
"collectors.py",
"data.py",
"main.py",
],
main = "main.py",
deps = [
"//scripts/lib/async_utils",
"//scripts/lib/build_dir",
"//scripts/lib/fx_cmd",
],
)
host_py_test(
name = "status_test",
srcs = [
"collectors.py",
"data.py",
"main.py",
"tests/data_for_test.py",
"tests/test_status.py",
],
imports = ["."],
main = "tests/test_status.py",
deps = [
"//scripts/lib/async_utils",
"//scripts/lib/build_dir",
"//scripts/lib/fx_cmd",
"//third_party/parameterized",
],
)