pyxtest: document the --display option in the README

Fixes: 4d79ddd0b4 ("pyxtest: add --display for running a test against a manually started server")
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2216>
This commit is contained in:
Peter Hutterer 2026-05-15 13:58:51 +10:00 committed by Marge Bot
parent 54860e6c7f
commit a49dc5c7d5

View file

@ -109,6 +109,7 @@ pytest test/pyxtest/ -v --server-type=xvfb --server-type=xwayland
| `--valgrind-suppressions=PATH` | Path to a valgrind suppressions file |
| `--server-type=TYPE` | Server type to test (`xvfb`, `xwayland`, `xorg`). Repeatable. Default: `xvfb` |
| `--server-path=PATH` | Explicit path to the X server binary |
| `--display=DISPLAY` | Connect to an existing server instead of starting one. Accepts `:N` or `N`. Mutually exclusive with `--valgrind` and `--server-path` |
## Environment variables