commit | f00c3881bf34968321afa15e0e3c2e3d4e8fdcd1 | [log] [tgz] |
---|---|---|
author | John Bauman <jbauman@google.com> | Wed Feb 14 05:59:37 2024 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Feb 14 05:59:37 2024 +0000 |
tree | 5e97d3432ff6820bfd937b4119d547cfe1bd125f | |
parent | 5d1c3c97aefb3f4c17bf276291c0a9b921713522 [diff] |
Fix build so integration tests can run on bots Change-Id: Ic28a67366f976a84c6361472215cc57c49106a49 Reviewed-on: https://fuchsia-review.googlesource.com/c/drivers/graphics/gpu/+/991192 Fuchsia-Auto-Submit: John Bauman <jbauman@google.com> Reviewed-by: Darren Chan <chandarren@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.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>