[roll] Roll fuchsia [boot-options]: Kernel test is not thread hostile.

If kernel-test is compiled in kernel environment, it will use
ktl::unique_ptr, while if its compile in for phys environment it will be
static storage on the bss section.

Now this is hidden by a getter that provides pointer-like interface, so
tests only need to assume they have some sort of pointer. For static
storage, there is nothing to do, for ktl::unique_ptr it gets destroyed
when it goes out of scope.

To keep it simple, allocation failure, forces the getter to return
nullptr, and the caller asserts they got a non null ptr.

Original-Bug: 77209 # Done
Test: k ut boot-options
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/533101
Original-Revision: f232c9d6026f09c57d4afda132b7d9acebb4a377
GitOrigin-RevId: 9bbf67e0c8d68f27248dbe63417003087f19a087
Change-Id: Ie437ebf335f234ca5597c3f2da4b402d6115d4c2
1 file changed
tree: 50c8919190466a7f56540abcb77f664064bf8d77
  1. garnet/
  2. infra/
  3. peridot/
  4. third_party/
  5. topaz/
  6. zircon/
  7. firmware
  8. flower
  9. jiri.lock
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. 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 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.