commit | b69d52a0849797e1f3e63bfcac73afa8bfb51c68 | [log] [tgz] |
---|---|---|
author | Darren Chan <chandarren@google.com> | Thu Mar 21 17:53:48 2024 +0000 |
committer | Darren Chan <chandarren@google.com> | Thu Mar 21 17:53:48 2024 +0000 |
tree | 29678312fba8c5038ede592fe5e73a162f8a0cd4 | |
parent | 5fd062a59f88c5c23c4a0b308262aa268c1561ba [diff] |
[testing] Use test group product bundles labels. Switch from patterns like `product_bundle = "core.x64"` to `product_bundle = "@fuchsia_products//:core.x64"` in `fuchsia_test_group`. Bug: 329311059 Change-Id: I6db0bb9c0457e16bb5f9acc79bac2d98b005c4bd Reviewed-on: https://fuchsia-review.googlesource.com/c/template/driver/+/1012053 Reviewed-by: Chase Latta <chaselatta@google.com>
<change_me: This repository is a template that we will use when creating new driver repositories for Fuchsia>.
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/<change_me>
Change to that directory:
cd <change_me>
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.
Run the full test-suite with:
tools/bazel test :tests
Run only the <change_me> driver tests with:
tools/bazel test <change_me>:<fuchsia_unittest_package_name>