[ffx][test] Move directory schema specifics into directory library

Moves all details about the structure of the directory output format
into the directory library. Before this change, the library contained
only the schemas for the JSON files contained in the output format, and
clients (run_test_suite and its integration tests) were expected to
understand the structure of the directory.
The transition to the stable output format changes the number of JSON
files present in the output format. Moving these details to a single
library simplifies this transition somewhat. It also gives us a
mechanism to specify which version of the format to use while we
migrate clients.

Bug: 81195
Testing: fx test //src/sys/run-test-suite

Change-Id: I37813fad004ef90543505f96fcd195f2ac85a690
Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/647349
Reviewed-by: Christopher Johnson <crjohns@google.com>
Commit-Queue: Satsuki Ueno <satsukiu@google.com>
9 files changed
tree: d17088b6d2c1d580bed305deadea4407589d47c7
  1. boards/
  2. build/
  3. bundles/
  4. docs/
  5. examples/
  6. garnet/
  7. products/
  8. scripts/
  9. sdk/
  10. src/
  11. third_party/
  12. tools/
  13. zircon/
  14. .clang-format
  15. .clang-tidy
  16. .editorconfig
  17. .git-blame-ignore-revs
  18. .gitattributes
  19. .gitignore
  20. .gn
  21. .style.yapf
  22. analysis_options.yaml
  23. AUTHORS
  24. BUILD.gn
  25. CODE_OF_CONDUCT.md
  26. CONTRIBUTING.md
  27. LICENSE
  28. OWNERS
  29. PATENTS
  30. pyrightconfig.json
  31. README.md
  32. rustfmt.toml
README.md

Fuchsia

What is Fuchsia?

Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.

We expect everyone interacting with our project to respect our code of conduct.

Read more about Fuchsia's principles.

How can I build and run Fuchsia?

See Getting Started.

Where can I learn more about Fuchsia?

See fuchsia.dev.