| # Copyright 2023 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( |
| "@fuchsia_infra//infra:infra.bzl", |
| "fuchsia_builder_group", |
| "fuchsia_test_group", |
| "fuchsia_tests", |
| ) |
| |
| common_test_deps = [ |
| "//src/drivers/pcf8563:test", |
| ] |
| |
| fuchsia_test_group( |
| name = "target_tests", |
| product_bundle = "core.x64", |
| deps = common_test_deps, |
| ) |
| |
| fuchsia_test_group( |
| name = "target_tests_asan", |
| asan_enabled = True, |
| product_bundle = "core.x64", |
| deps = common_test_deps, |
| ) |
| |
| fuchsia_tests( |
| name = "tests", |
| deps = [ |
| ":target_tests", |
| ":target_tests_asan", |
| ], |
| ) |
| |
| # buildifier: leave-alone |
| fuchsia_builder_group( |
| name = "infra", |
| build_only = [ |
| "//src/drivers/pcf8563:pkg", |
| ], |
| test_groups = [ |
| ":tests", |
| ], |
| cipd_uploads = [ |
| ], |
| ) |