[pr-tests][linux-proton] Tests pass under Wine without changing what they check on Windows #349
Loading…
Reference in a new issue
No description provided.
Delete branch "ntsthay/wine-tests"
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
Under Wine (Proton on Linux), some tests fail because the platform under them differs from Windows, not because Darner is wrong. Each one now checks only what that platform can show, and only under Wine. Wine is detected by the
wine_get_versionexport of ntdll, ason_wine()already does indarner-hleanddarner-gpu. On Windows every test checks what it checked before.files::crash_report_files_are_registered_by_their_host_path: Wine'sWerRegisterFileandWerUnregisterFileare stubs that answer E_NOTIMPL.media::readers_open_files_on_virtual_drives: Wine's Media Foundation has no source for the WAV clip (0xc00d36bb). The byte stream part still runs.xaudio2::xma2_voices_play_through_the_host: FAudio accepts XMA2 and does not report the queued buffer's context.xgamesave::a_kept_blob_past_the_link_limit_is_copied: the temp folder is on a Linux file system, without NTFS's limit of 1024 links.ramtrim::taking_pages_out_keeps_contents_write_watch_and_locks: Wine'sVirtualLockkeeps no lock the working set reports, so the locked page may be taken too.pipeline::make::a_dispatch_waiting_on_a_worker_raises_it: the raised priority cannot be seen there.pipeline::host::out_of_range_static_sampler_mip_lod_bias_serializes_for_host: vkd3d-proton does not reject the unclamped bias.emit::tests::stub_pipeline_is_created: vkd3d-proton does not check the DXIL container hash.rayquery_tests::a_ray_query_program_validates_and_makes_a_pipeline_on_warpandhw_tests::split_lds_wave32_read_after_read_barrier_coalescing_and_parity: Wine has no WARP adapter. The second still runs on the card and skips only its WARP part.load_probe::loads_binds_and_calls_probe: the cargo it starts is the Linux one, which does not read Windows paths.repository_passes_policy: there is nogiton the path inside Wine.darner-shadergets its ownon_wine()for tests.How it was tested
c6d91e8, this branch onf3840d7.cargo nextest rununder Proton (proton-cachyos, RTX 4080): all pass; onf3840d7each fails.f3840d7and on this branch: the host font and panel tests (Wine has no Consolas, Bahnschrift or Segoe UI), thelate_dll_*tests,xmem::a_title_thread_goes_on_using_the_rest_of_a_view, a BC family copy test, a buffer format test, the WARP test inambient, andwindows_is_not_wine. They are for a later PR.whole_wave_sections_keep_rounding_mode_changespasses with the shader PR.Checklist
main.docs/asset-policy.md.Checked for overlap
watch.rs, a different file.c6d91e8281to33a7616529View 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.