diff options
| author | justr4mzi <243612488+justr4mzi@users.noreply.github.com> | 2026-11-22 18:43:54 +0000 |
|---|---|---|
| committer | justr4mzi <243612488+justr4mzi@users.noreply.github.com> | 2026-11-22 18:43:54 +0000 |
| commit | b7bee40a9bf7daccf57f58bd788dca7dfbc1fa50 (patch) | |
| tree | 4174f0d3649f1a1a09d853ffb59b1d32dd7758d9 /docs/testing.md | |
| parent | df6864d4b7443aebde3fa08b3fb1ba4338dd0a69 (diff) | |
docs/testing.md: keep the Wine prefix in the xvfb-run line, and name xauth
Review (@ramenbellic): the xvfb-run command dropped the WINEPREFIX of the block
above, so it ran in ~/.wine; and xvfb-run needs xauth, which minimal images
lack (CI installs both).
Diffstat (limited to 'docs/testing.md')
| -rw-r--r-- | docs/testing.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/testing.md b/docs/testing.md index e34547374..e4ea79d5b 100644 --- a/docs/testing.md +++ b/docs/testing.md | |||
| @@ -149,8 +149,8 @@ x86_64 headers for Win11SDK_10.0.26100". | |||
| 149 | On a machine without a display (a server, a container, WSL without WSLg), Wine has no graphics driver to create a | 149 | On a machine without a display (a server, a container, WSL without WSLg), Wine has no graphics driver to create a |
| 150 | Vulkan instance with, so every Vulkan test fails with `vkCreateInstance failed (VkResult -3)` and, with | 150 | Vulkan instance with, so every Vulkan test fails with `vkCreateInstance failed (VkResult -3)` and, with |
| 151 | `WINEDEBUG=+vulkan`, "Failed to load Wine graphics driver supporting Vulkan". Run the tests under a virtual X server, | 151 | `WINEDEBUG=+vulkan`, "Failed to load Wine graphics driver supporting Vulkan". Run the tests under a virtual X server, |
| 152 | as CI does: `xvfb-run -a ctest --test-dir runtime/build/windows` (package `xvfb`). With Mesa installed, the tests | 152 | as CI does: `WINEPREFIX="$HOME/.local/share/leonida-wine" xvfb-run -a ctest --test-dir runtime/build/windows` |
| 153 | then run on llvmpipe. | 153 | (packages `xvfb` and `xauth`, which `xvfb-run` needs). With Mesa installed, the tests then run on llvmpipe. |
| 154 | 154 | ||
| 155 | The build type defaults to `RelWithDebInfo`: xwin leaves out the debug CRT, so `Debug` needs `--include-debug-libs`. | 155 | The build type defaults to `RelWithDebInfo`: xwin leaves out the debug CRT, so `Debug` needs `--include-debug-libs`. |
| 156 | `make_game.py`'s `runtime` stage makes this same build on Linux when the tools and the SDK are there (`--runtime-build | 156 | `make_game.py`'s `runtime` stage makes this same build on Linux when the tools and the SDK are there (`--runtime-build |