[roll] Roll fuchsia [fidl][example-tester] Support golden testing

Instead of asserting on logs one by one, which produces very verbose
tests, the new `assert_logq_eq_to_golden` function does exactly what it
says on the tin: compare all of the logs for some component to a golden
string, imported into the test runner as a GN `resource`.

There are two things lacking to this approach. First, it would be nice
to have something like `fx regen-goldens`, though as far as I know
something like that would only work for host-side tests. As things
stand, users have to copy-paste golden output manually. I've tried to
add some niceties in terms of terminal-output to make this a bit easier,
but it is still rather annoying.

The second issue is that there is no way to filter logs, which will be
added in a future CL (ex: `assert_filtered_logs_eq_to_golden` or
similar). The reason this will be nice is that certain runtimes (like
the Dart VM) produce their own logs, so to ensure we compare the same
set of logs for each language, we'll probably need some filtering
capabilities.

All existing tests (key-value-store baseline and addreaditem cases) have
been migrated to use goldens.

Test: fx test examples_fidl example_tester
Original-Bug: 109319
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/736084
Original-Revision: 7f641cf928b8ee1b3e945fa5c70ce0542aea3204
GitOrigin-RevId: 05a2cfa01bc94f59349aa9e2ebe689edb7844dec
Change-Id: I6c83041187dd8dc3812dbdec543f99cdbde2e8cd
1 file changed
tree: a40ad50dc3a5eba028162d2407dcea7f8795bb67
  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.