mirror of
https://github.com/ProjectLeonida/mandy.git
synced 2026-12-06 16:48:37 +00:00
Run one after another, each Windows test under Wine took several seconds, most of it a wineserver starting and stopping around every test. The runner now keeps one wineserver alive for the run (`wineserver -p`, the one $WINESERVER or the --wine command uses) and stops it at the end, also after a failure or Ctrl+C. It starts the prefix's services first with `wine wineboot` and no output: the first program a server runs starts them, they inherit its output pipe, and with a kept server they hold it open until the timeout. Each test's WINEDLLOVERRIDES gains winedbg.exe=d (a crash fails at once instead of waiting in the debugger) and winemenubuilder.exe=d (no menu entries or file associations in the user's profile); an entry of the caller's or the test's for the same program wins. --jobs N (default 1) runs N tests at a time, keeping RUN_SERIAL tests alone, tests that share a RESOURCE_LOCK apart and DEPENDS in order, and reports them in the same order as --jobs 1. docs/testing.md gains the fast local recipe for the cross-build with measured times, the menu-builder note and --jobs. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>