[roll] Roll fuchsia [tests] Introduce product_bundle_test_group

By default tests will run on the default product bundle from the build.
With multi-product builds, we may want to target a specific non-default
product bundle for a set of tests.

We can now use this GN template for declaring this desire.

product_bundle_test_group("target") {
  product_bundle_name = "foo"
  tests = [ ... ]
}

In order to declare one of these targets, you must make them available
in your product.gni:
  product_bundle_test_groups = [ "//path/to:target" ]

This ensures that gn can "discover" the target and resolve the
generated_file() at gn-time.

Test:
  fx set  # with a test suite
  fx clean
  fx test <test>
  # Ensure only <test> was built and ran

  fx args # add a newtest suite
  fx test <new-test>
  # Ensure only <new-test> was built and ran

  fx clean
  fx search-tests <test>

Test: fx build build:build_tests_json_tests
Original-Bug: 391643406
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1200184
Original-Revision: c032b303b0d17754aca31817d9f2a2a037de8234
GitOrigin-RevId: 4363abc6ee52a64578da2d157928aec6175b0d07
Change-Id: I21b4dd50f625e3e6aef90001fdb63b46b3810883
1 file changed
tree: 21ee7e414859440314c16c2e356bc920b3f684a5
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
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.