[pr-tests][linux-proton] Tests: the preload restart test skips under Wine, whose powershell runs no script #385
Loading…
Reference in a new issue
No description provided.
Delete branch "ntsthay/wine-preload-restart"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Tests only. Nothing here runs in the game.
Contributor role (optional)
What it changes
host::menu::tests::preload_restart_preserves_paths_and_working_directoryrestarts through a PowerShell launcher script and waits up to 30 s for the script to write its result. Under Wine (Proton on Linux),powershell.exeis Wine's builtin stub (programs/powershell/main.c), which logs its arguments and exits without running anything. The result never comes, and the test fails after 30 s.Under Wine the test now returns before it starts the child, using
on_wine()fromresource.rs. On Windows it runs as before.How it was tested
e127ef0, this branch onf3840d7.cargo nextest run -p darner-gpu -E 'test(host::menu::)'under Proton (proton-cachyos, RTX 4080): 50 passed. Onf3840d7this test fails with "the restarted launcher did not report".cargo clippy -p darner-gpu -p darner-shader --all-targets, with and without--all-features,-D warnings) are clean. Gate 3 ran under Wine, not on Windows.Checklist
main.docs/asset-policy.md.Checked for overlap
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.