ozone: Add docs for running tests with use_bundled_weston
Bug: none Change-Id: Ieef9c391a2b12c3fe61064f9825754b92f5ed4e9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2659697 Reviewed-by: Maksim Sisov <msisov@igalia.com> Commit-Queue: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#848793}
This commit is contained in:

committed by
Chromium LUCI CQ

parent
d122f57794
commit
a6e9a7c57a
@@ -306,6 +306,21 @@ use_glib=true
|
|||||||
use_gtk=true
|
use_gtk=true
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Running some test suites requires a Wayland server. If you're not
|
||||||
|
running one you can use a locally compiled version of Weston. This is
|
||||||
|
what the build bots do. Add this to your gn args:
|
||||||
|
|
||||||
|
``` shell
|
||||||
|
use_bundled_weston = true
|
||||||
|
```
|
||||||
|
|
||||||
|
Then run the xvfb.py wrapper script and tell it to start Weston:
|
||||||
|
|
||||||
|
``` shell
|
||||||
|
cd out/debug # or your out directory
|
||||||
|
../../testing/xvfb.py --use-weston --no-xvfb ./views_unittests --ozone-platform=wayland --enable-features=UseOzonePlatform
|
||||||
|
```
|
||||||
|
|
||||||
Feel free to discuss with us on freenode.net, `#ozone-wayland` channel or on
|
Feel free to discuss with us on freenode.net, `#ozone-wayland` channel or on
|
||||||
`ozone-dev`, or on `#ozone-wayland-x11` channel in [chromium slack](https://www.chromium.org/developers/slack).
|
`ozone-dev`, or on `#ozone-wayland-x11` channel in [chromium slack](https://www.chromium.org/developers/slack).
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user