Flesh out driver FIDL service test coverage

Change-Id: I975dd9e3c9323ddb973757c48ce629682d82c4bf
Reviewed-on: https://fuchsia-review.googlesource.com/c/drivers/rtc/nxp/pcf8563/+/949939
Reviewed-by: Braden Kell <bradenkell@google.com>
Commit-Queue: Sam Hansen <hansens@google.com>
6 files changed
tree: 27d41bd20677c71699860ce8839b9ec73bd54a8d
  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. shac.star
  20. shac.textproto
  21. 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, fetch all git submodules:

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

    scripts/bootstrap.sh
    
  3. 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

Run only the pcf8563 driver tests with:

tools/bazel test src/drivers/pcf8563:test