[roll] Roll fuchsia [build] Formalize `boot_test()` a bit more

This change refactors `boot_test()` to tidy it up a bit and make it more
of a reusable, not-necessarily-ZBI-test-specific offering: we separate
out the template into //build/testing/boot_test.gni and migrate
`fx run-boot-test` over to using its metadata (as automated
infrastructure does), deleting the old `zbi_tests` build API module in
the process.

We currently need to effectively define two boot test instances for each
'one': in the case of emulators where $host_cpu != $target_cpu, we
define an additional test with all of the same boot test requirements,
but that is meant to be executed on a $target_cpu host in order to take
advantage of KVM, HVF, etc. This is unfortunate, but seems unavoidable
in general. This change does at least try to alleviate the quirk in the
case of no emulator environments being specified or
$host_cpu == $target_cpu, where we need not actually partition
things into two tests and can just define a single $host_cpu host test.

This change also wires back up the `timeout` parameter, which had been
ignored since the last zbi_test() refactor.

Original-Bug: 113961
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/759245
Original-Revision: 9b15172841d0bd047a347d723b4c11441df81849
GitOrigin-RevId: e440419990272a75a427b9f0d9520ed7deefff10
Change-Id: Ibe66da5c962a7631d6764b20be8f7687b9dbadd0
1 file changed
tree: 34d937c5eadcca20f33d161088c7b5c5a557df85
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. test_durations
  13. 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 via the IRC channel #fuchsia on Freenode.

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.