
Put Fuchsia specific instructions in //docs/fuchsia Added instructions for running blink and gpu integration tests. Added instructions for running tests on remote devices. Bug: 1174296 Change-Id: I54fabb5b339fe90b3517c6341c62d7269726772f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2673628 Reviewed-by: Sharon Yang <yangsharon@chromium.org> Reviewed-by: Bob Haarman <inglorion@chromium.org> Reviewed-by: Fabrice de Gans-Riberi <fdegans@chromium.org> Auto-Submit: Chong Gu <chonggu@google.com> Commit-Queue: Chong Gu <chonggu@google.com> Cr-Commit-Position: refs/heads/master@{#854575}
1.5 KiB
1.5 KiB
Running GPU integration tests on Fuchsia.
General instruction on running and debugging GPU integration tests can be found here.
Fuchsia uses web_engine_shell to run GPU
integration tests. For the sake of this example, we will be using gpu_process
as the test suite we wish to execute. Build the target
fuchsia_telemetry_gpu_integration_test
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
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