[roll] Roll fuchsia [bazel] Support reporting Bazel host tests.

Make the build_tests_json() function accept a new with_bazel_host_tests
parameter which determines whether to report Bazel host tests in the
resulting tests.json value. This also takes a CommandRunner instance
which can be used during unit-testing to avoid performing a real
Bazel query.

This CL prepares a future one which will allow `fx gen` and
`fx set` to generate a `tests.json` file that includes
entries for Bazel host tests.

- Make generate_tests_json() also return a set of input paths
  that should trigger a new regeneration if changed. For incremental
  correctness.

+ Fix a minor bug in build_tests_json.py: Use "runtimes_deps"
  instead of "runtime_deps_path" as the key to list the runtime
  dependencies file for the host test.

NO_IFTTT=No need to modify FuchsiaHostTestInfo.cquery here.

Original-Bug: 349341932
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1514716
Original-Revision: 5f79582e49bf887b650f710c40fcf83810b437c2
GitOrigin-RevId: 6c83caec9ab9faacae60528791956862a0d4e78a
Change-Id: I8fe8e06b8522b0f92c879471f550f3fec32092dc
1 file changed
tree: 57827446b5576c3ece389a9f095e65596b92f4f9
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance in one of the communication channels documented at get involved.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.