[roll] Roll third_party/googletest Use the provided length in ConditionalPrintAsText While ConditionalPrintAsText gets a char pointer and the string length, it used to only pass the pointer to operator<<. That does not work for strings that are not zero terminated, because operator<< has to resort to strlen, which happily overflows the string buffer. This CL wraps the char pointer and the length in a string_view and passes that to operator<< to fix that issue. PiperOrigin-RevId: 765137769 Original-Revision: 7427a6b5e3e04f895ecad5c647c94629fb2acdc0 Roller-URL: https://cr-buildbucket.appspot.com/build/8713447413324820529 CQ-Do-Not-Cancel-Tryjobs: true Change-Id: Iadf12fc9e82446c3aaab14c5e7c56ae9afe551a1 Reviewed-on: https://fuchsia-review.googlesource.com/c/drivers/rtc/nxp/pcf8563/+/1289175 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
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