upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/docs/testing.md
diff options
context:
space:
mode:
authorSkippySteve <69158610+SkippySteve@users.noreply.github.com>2026-11-23 18:23:17 -0500
committerIlyassRS <ilyassroussi2000@gmail.com>2026-11-24 21:42:19 +0100
commitcf6a451661860d03f50791b97229bf6607809b99 (patch)
tree9d6741b98c4f64c27307e73a32a4cc5caeb132be /docs/testing.md
parent2e026b03e308b3f2572ce5bf1941f33b281c4200 (diff)
run_wine_session: initialize and stop the prefix with $WINE
The session script ran wineboot and wineserver from PATH while run_wine_tests.py runs the tests with $WINE. With WINE set to Proton's or UMU-Proton's files/bin/wine, the prefix was initialized by another Wine, or the script stopped at 'wineboot: command not found' on a host without a system Wine, and the exit trap stopped the wrong wineserver. Run "$WINE" wineboot --init and stop $WINESERVER, else the wineserver next to $WINE, else wineserver on PATH; report a missing $WINE with status 127.
Diffstat (limited to 'docs/testing.md')
-rw-r--r--docs/testing.md4
1 files changed, 3 insertions, 1 deletions
diff --git a/docs/testing.md b/docs/testing.md
index f8246f888..b9201dd22 100644
--- a/docs/testing.md
+++ b/docs/testing.md
@@ -288,7 +288,9 @@ WINE=wine WINEPREFIX="$(mktemp -d)" WINEDLLOVERRIDES="mscoree,mshtml=" WINEDEBUG
288 --require run_tiny_game --require run_tiny_game_exit_code 288 --require run_tiny_game --require run_tiny_game_exit_code
289``` 289```
290 290
291The session script initializes a dedicated prefix and stops its Wine processes at exit. On a headless host, 291The session script initializes a dedicated prefix and stops its Wine processes at exit, with the Wine named by
292`WINE` (default `wine`) and the `wineserver` next to it (or `WINESERVER`), so Proton's or UMU-Proton's
293`files/bin/wine` works without a system Wine. On a headless host,
292put `xvfb-run -a` before `bash` so prefix initialization and the tests share one virtual display. The test runner 294put `xvfb-run -a` before `bash` so prefix initialization and the tests share one virtual display. The test runner
293maps the recorded Windows drive to the Linux checkout for shaders referenced by absolute Windows paths. It prints 295maps the recorded Windows drive to the Linux checkout for shaders referenced by absolute Windows paths. It prints
294every verdict and returns a failure status if any required test fails, skips or is missing. Check the printed 296every verdict and returns a failure status if any required test fails, skips or is missing. Check the printed