commit | b7785fa3341ee1789f84f5e03f967a794afec44b | [log] [tgz] |
---|---|---|
author | Darren Chan <chandarren@google.com> | Wed Jan 03 20:28:53 2024 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jan 03 20:28:53 2024 +0000 |
tree | 97daa186892d966e63e79c758546066e601ee4a0 | |
parent | 93ba4fc85b7602f264b4b57ef9b46ad4c291c51e [diff] |
[CQ] Specify test_target for fuchsia_test_group. This change requires an atomic roll. Bug: b/315215719 Change-Id: If3cb186f6a0708eb7cf412de339f06a4e6257287 Reviewed-on: https://fuchsia-review.googlesource.com/c/drivers/rtc/nxp/pcf8563/+/928657 Reviewed-by: Chase Latta <chaselatta@google.com> Reviewed-by: Jiaming Li <lijiaming@google.com> Commit-Queue: Darren Chan <chandarren@google.com>
This repository is a based on a template repository which will be adopted automatically by OOT driver repositories.
Template repository is located in: https://fuchsia.googlesource.com/template/driver/
To perform an initial bootstrap, execute the following:
In a terminal, clone the repository:
git clone https://fuchsia.googlesource.com/drivers/rtc/nxp/pcf8563
Change to that directory:
cd pcf8563
Fetch all git submodules:
git submodule init && git submodule update --recursive
Bootstrap the build environment:
scripts/bootstrap.sh
Fetch and build the SDK:
tools/bazel build @fuchsia_sdk//:fuchsia_toolchain_sdk
See the getting started guide for more info.
The Fuchsia driver package can be built locally with:
tools/bazel build src/drivers/pcf8563:pkg
Run the full test-suite with:
tools/bazel test :tests
Run only the pcf8563 driver tests with:
tools/bazel test src/drivers/pcf8563:test