General instruction on running and debugging web_tests can be found here.
Currently, only
a small subset of web tests
can be run on Fuchsia. Build the target blink_tests
first before running any
of the commands below:
The test script brings up an emulator, runs the tests on it, and shuts the emulator down when finished.
$ third_party/blink/tools/run_web_tests.py -t <output-dir> --platform=fuchsia
Note the --fuchsia-host-ip
flag, which is the ip address of the test host that
the Fuchsia device uses to establish a connection.
$ third_party/blink/tools/run_web_tests.py -t <output-dir> --platform=fuchsia
--device=device --fuchsia-target-cpu=<device-cpu-arch>
--fuchsia-out-dir=/path/to/fuchsia/outdir --fuchsia-host-ip=test.host.ip.address