GPU tests: close section handles after mapping watch test views #2480
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/2482"
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?
Imported from Marvisak/VIctory. Originally posted by VlREX on 2026-11-25T14:36:51Z.
The watch tests open pagefile-backed section handles to create mapped views, then lose the handles without closing them. Close each handle after the mapping calls. The mapped views remain valid after
CloseHandle. Existing tests exercise those views after the handle closes.Test-only change. No title data was used. Local Rust tests were unavailable. AI-assisted.
Imported from Marvisak/VIctory. Originally posted by catminou4 on 2026-11-25T14:57:42Z.
Review: COMMENTED
GPU tests: close section handles after mapping watch test views. Test-only hygiene. Static review only: victory-gpu/victory-hle are Windows-only (D3D12/windows-sys); not compiled or tested on this macOS arm64 host. rustc 1.98.1.
Imported from Marvisak/VIctory. Originally posted by Bj0rnis on 2026-11-25T14:40:19Z.
Independent Windows 11 hardware + WARP verification of #2482 at
9dffe2c4(cleangit merge-treewithorigin/main940d32f6, Rust 1.98.1 MSVC):cargo test -p victory-gpu --features diagnostics --lib --locked -- --test-threads=1-> 144 passed, 2 failed, 2 ignored (only the 2 pre-existing #1744 NVIDIA 1M view-heap baseline failures also present onmain940d32f6; allwatch::testspassed).VICTORY_D3D12_WARP=1): 146 passed, 0 failed, 2 ignored (0.96s).cargo clippy -p victory-gpu --all-targets --all-features --locked -- -D warnings-> 0 warnings.cargo xtask policy-> 182 files ok.AI-assisted test run and summary.
Imported from Marvisak/VIctory. Originally posted by Vedoxdev123 on 2026-11-25T15:57:33Z.
Tested on Windows with AMD Ryzen 5 5600X + NVIDIA GeForce RTX 4060 (AI-assisted):
cargo test -p victory-gpu --lib-> 141 passed; 2 failed; 2 ignoredAll tests in this branch pass on RTX 4060; the only 2 failures are the known 1,000,000 view heap cap tests (
dynamic_slots_are_held_until_releasedandlists_share_a_table_and_copies_keep_their_viewsfrom #1744).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.