0

Document how to run WPTs on swarmed

Bug: 1402952
Change-Id: I6f6491fdad9b217cb57099511ee0c6f9accda9ed
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4146424
Reviewed-by: Weizhong Xia <weizhong@google.com>
Commit-Queue: Antonio Sartori <antoniosartori@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1090461}
This commit is contained in:
Antonio Sartori
2023-01-09 19:59:11 +00:00
committed by Chromium LUCI CQ
parent af7529c6d3
commit c604310b3a

@ -78,6 +78,16 @@ dimension.)
Note you might need `--swarming-os Ubuntu-14.04` if you get an error like,
`UnboundLocalError: local variable 'dbus_pid' referenced before assignment`.
Web tests can be also run on swarmed. However:
- the only supported output folders are `Debug` and `Release`
- `--no-test-flags` must be specified.
For example, you can run all Web Platform Tests inside `<some-wpt-folder>` like this:
```
$ autoninja -C out/Release blink_tests
$ tools/run-swarmed.py --no-test-flags out/Release blink_wpt_tests <some-wpt-folder>
```
### mb.py run
Similar to `tools/run-swarmed.py`, `mb.py run` bundles much of the logic into a