[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
This repository contains Fuchsia's Global Integration manifest files.
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.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.