
Also move fuchsia/engine/web_instance_host/ to fuchsia_web/webinstance_host/. All changes were mechanical except for DEPS files. Bug: 1081525 Change-Id: I9aca303f95dc1dd6ade833ea0532127dd389a4a2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3628363 Reviewed-by: Brian Sheedy <bsheedy@chromium.org> Commit-Queue: David Dorwin <ddorwin@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Matt Mueller <mattm@chromium.org> Reviewed-by: Wez <wez@chromium.org> Reviewed-by: Sergey Ulanov <sergeyu@chromium.org> Owners-Override: Nico Weber <thakis@chromium.org> Cr-Commit-Position: refs/heads/main@{#1010748}
1.6 KiB
1.6 KiB
Running GPU integration tests on Fuchsia
[TOC]
General instruction on running and debugging GPU integration tests can be found here.
Fuchsia uses either web_engine_shell
or the Chrome browser to run GPU integration tests. For the sake of this
example, we will be using web_engine_shell
as the target browser and
gpu_process
as the test suite we wish to execute. Build the target
telemetry_gpu_integration_test_fuchsia
and run the appropriate commands:
Hermetic emulation
The test script brings up an emulator, runs the tests on it, and shuts the emulator down when finished.
$ content/test/gpu/run_gpu_integration_test_fuchsia.py gpu_process
--browser=web-engine-shell --out-dir=/path/to/outdir
Run on an physical device
$ content/test/gpu/run_gpu_integration_test_fuchsia.py gpu_process
--browser=web-engine-shell --out-dir=/path/to/outdir -d
Run on a device paved with Fuchsia built from source
$ content/test/gpu/run_gpu_integration_test_fuchsia.py gpu_process
--browser=web-engine-shell --out-dir=/path/to/outdir -d
--fuchsia-out-dir=/path/to/fuchsia/outdir
Note that fx serve
must be running for communication with the device to
succeed.
Run on a device the host is connected to remotely via ssh
Note the --ssh-config
flag, which should point to the config file used to set
up the connection between the host and the remote device.
$ content/test/gpu/run_gpu_integration_test_fuchsia.py gpu_process
--browser=web-engine-shell --out-dir=/path/to/outdir -d --host=localhost
--ssh-config=/path/to/ssh/config