[roll] Roll fuchsia [fx][target] Account for all edge cases in...

...fx {set-device, unset-device, use, -t|--target} w.r.t overriding
fx-level behavior from environment variables and ffx.

PSA: http://shortn/_AhuIP0xwu1

Before vs After: https://diff.googleplex.com/#key=am7CxE0Dkpr5

Changes:
 - Make `fx -t|--target` resilient to $FUCHSIA_DEVICE_ADDR.
 - Add checks for $FUCHSIA_DEVICE_ADDR to
   `fx {set-device, unset-device, use}` and improve message wording.
 - Add checks for $FUCHSIA_NODENAME and $FUCHSIA_DEVICE_ADDR to
   `fx use`.
 - Update ffx default target checks in `fx {set-device, unset-device}`
   to call `ffx target default unset`.
 - Add tests for `fx -t|--target`.
 - Add tests for `fx use`.
 - Improve testing for `fx {set-device, unset-device}`.

Test: fx self-test //tools/devshell/tests/fx-internal/fx_test
Test: fx self-test //tools/devshell/tests/subcommands/fx_use_test
Test: fx self-test //tools/devshell/tests/subcommands/fx_unset_device_test
Test: fx self-test //tools/devshell/tests/subcommands/fx_set_device_test
Original-Fixed: 411484355
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1260606
Original-Revision: 9938038a4040be775250374a786c233e48b04484
GitOrigin-RevId: 1ff221439bd179617345cd66c696c03b6f43ae5a
Change-Id: I7b3876dc4a245125a7b0ecff9eab2e3d4d56a3de
1 file changed
tree: 72ebb8fad44e21cd4017ceb44e6e162451e00a61
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. flower
  6. jiri.lock
  7. MILESTONE
  8. minimal
  9. prebuilts
  10. README.md
  11. stem
  12. 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 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.