[fuchsia] - migrate devicer discovery workflows to use ffx (#76241)

This commit is contained in:
omerlevran46
2021-03-01 13:16:13 -08:00
committed by GitHub
parent 54455c706d
commit f996033fcc
12 changed files with 483 additions and 54 deletions

View File

@@ -13,7 +13,7 @@
# The first and only parameter should be the path to the Fuchsia system image
# tarball, e.g. `./run_fuchsia_tests.sh generic-x64.tgz`.
#
# This script expects `pm`, `device-finder`, and `fuchsia_ctl` to all be in the
# This script expects `pm`, `ffx`, and `fuchsia_ctl` to all be in the
# same directory as the script.
#
# This script also expects a private key available at:
@@ -44,7 +44,7 @@ fi
# Wrapper function to pass common args to fuchsia_ctl.
fuchsia_ctl() {
$script_dir/fuchsia_ctl -d $device_name \
--device-finder-path $script_dir/device-finder "$@"
--ffx-path $script_dir/ffx "$@"
}
reboot() {
@@ -115,6 +115,8 @@ EOF
export FUCHSIA_SSH_CONFIG=$script_dir/fuchsia_ssh_config
export FUCHSIA_ANALYTICS_DISABLED="1"
# Run the driver test
echo "$(date) START:DRIVER_TEST -------------------------------------"
flutter_dir=$script_dir/flutter