Skip to content

Commit

Permalink
ozone: Add docs for running tests with use_bundled_weston
Browse files Browse the repository at this point in the history
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}
  • Loading branch information
James Cook authored and Chromium LUCI CQ committed Jan 29, 2021
1 parent d122f57 commit a6e9a7c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions docs/ozone_overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -306,6 +306,21 @@ use_glib=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
`ozone-dev`, or on `#ozone-wayland-x11` channel in [chromium slack](https://www.chromium.org/developers/slack).

Expand Down

0 comments on commit a6e9a7c

Please sign in to comment.