[roll] Roll third_party/fuchsia-infra-bazel-rules [roll] Roll third_party/googletest d49a665..9ff2450 (2 commits)

9ff2450 Update GoogleTest Bazel quickstart for Bzlmod
b62593a Update main branch to reflect the release of 1.15.0

Roller-URL: https://ci.chromium.org/b/8742249035695834721
CQ-Do-Not-Cancel-Tryjobs: true
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia-infra-bazel-rules/+/1082552
Original-Revision: 42fbe34200ee066a4f5a983f97bd5ed2a805c158

Roller-URL: https://ci.chromium.org/b/8742248539231864577
CQ-Do-Not-Cancel-Tryjobs: true
Change-Id: I104f7e7c4ae1b6be9e1175fb3826f9f6dc9f578a
Reviewed-on: https://fuchsia-review.googlesource.com/c/drivers/rtc/nxp/pcf8563/+/1082554
Commit-Queue: GI Roller <global-integration-roller@fuchsia-infra.iam.gserviceaccount.com>
1 file changed
tree: 6bdb32f904627642d3b6a63ad07a2e62b00f7510
  1. manifests/
  2. product/
  3. scripts/
  4. src/
  5. third_party/
  6. tools/
  7. .bazelrc
  8. .clang-format
  9. .gitignore
  10. .gitmodules
  11. AUTHORS
  12. BUILD.bazel
  13. CONTRIBUTING.md
  14. fuchsia_env.toml
  15. LICENSE
  16. OWNERS
  17. PATENTS
  18. README.md
  19. rollers.textproto
  20. shac.star
  21. shac.textproto
  22. WORKSPACE.bazel
README.md

Fuchsia RTC Driver Repository

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/

Getting Started

To perform an initial bootstrap, execute the following:

  1. In a terminal, clone the repository:

    git clone https://fuchsia.googlesource.com/drivers/rtc/nxp/pcf8563
    
  2. Change to that directory:

    cd pcf8563
    
  3. Fetch all git submodules:

    git submodule init && git submodule update --recursive
    
  4. Bootstrap the build environment:

    scripts/bootstrap.sh
    
  5. Fetch and build the SDK:

    tools/bazel build @fuchsia_sdk//:fuchsia_toolchain_sdk
    

See the getting started guide for more info.

Building And Testing Driver

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