diff options
| author | SkippySteve <69158610+SkippySteve@users.noreply.github.com> | 2026-11-23 18:23:17 -0500 |
|---|---|---|
| committer | IlyassRS <ilyassroussi2000@gmail.com> | 2026-11-24 21:42:19 +0100 |
| commit | cf6a451661860d03f50791b97229bf6607809b99 (patch) | |
| tree | 9d6741b98c4f64c27307e73a32a4cc5caeb132be /docs/testing.md | |
| parent | 2e026b03e308b3f2572ce5bf1941f33b281c4200 (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.md | 4 |
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 | ||
| 291 | The session script initializes a dedicated prefix and stops its Wine processes at exit. On a headless host, | 291 | The 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, | ||
| 292 | put `xvfb-run -a` before `bash` so prefix initialization and the tests share one virtual display. The test runner | 294 | put `xvfb-run -a` before `bash` so prefix initialization and the tests share one virtual display. The test runner |
| 293 | maps the recorded Windows drive to the Linux checkout for shaders referenced by absolute Windows paths. It prints | 295 | maps the recorded Windows drive to the Linux checkout for shaders referenced by absolute Windows paths. It prints |
| 294 | every verdict and returns a failure status if any required test fails, skips or is missing. Check the printed | 296 | every verdict and returns a failure status if any required test fails, skips or is missing. Check the printed |