commit | 27a8522640d15c385a3811b546596fae4059df3e | [log] [tgz] |
---|---|---|
author | Zhanyong Wan <wan@fuchsia.infra.roller.google.com> | Tue Mar 11 12:29:15 2025 -0700 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 11 12:29:15 2025 -0700 |
tree | 6f8490ecd4320437ebfcf94910ca39763f3b9b4b | |
parent | 8c9c6fa07bac21ee437f89473c1163df2399df6b [diff] |
[roll] Roll third_party/googletest Clarify the polymorphic matcher concept and explain how to define a composite matcher. Many gtest users aren't aware that a polymorphic matcher is not actually a `testing::Matcher<>` and thus doesn't know how to describe itself. Clarify this. Also adds a recipe on how to define a composite matcher. In particular, explain how the composite matcher can describe itself in terms of the description(s) of its sub-matcher(s). PiperOrigin-RevId: 735840759 Original-Revision: 4902ea2d7c6faed89b6facee00baa34bb108fc0d Roller-URL: https://cr-buildbucket.appspot.com/build/8720667682394422225 CQ-Do-Not-Cancel-Tryjobs: true Change-Id: Ie2cc3a85efedadebe979fd7cece0f3e86fbda99d Reviewed-on: https://fuchsia-review.googlesource.com/c/drivers/rtc/nxp/pcf8563/+/1225551 Commit-Queue: GI Roller <global-integration-roller@fuchsia-infra.iam.gserviceaccount.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_qemu
Run only the pcf8563 driver tests with:
tools/bazel test src/drivers/pcf8563:test_x64