tests: d3d12_bindless_churn and its --validated run each get their own temp folder (TEST-CHURN-TEMP-DIR) #531
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/531"
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 ubiquitarianism/leonida. Originally posted by nickfmbg on 2026-11-24T07:03:39Z.
Claimed in the coordination issue as: TEST-CHURN-TEMP-DIR (https://github.com/ubiquitarianism/leonida/issues/14#issuecomment-7124547328)
What and why
d3d12_bindless_churnandd3d12_bindless_churn_validatedare the same executable (d3d12_bindless_churn_test, with and without--validated), and both used one fixed%TEMP%\leonida_bindless_churn_testfolder for the translated shader and itsindex.json. Underctest -jthey run at the same time; the first to finish callsremove_allon the folder, and the other then fails:The folder now carries the process id, as
d3d12_execute_indirect_validation_testandd3d12_conservative_tier3_testalready do. I checked the other executables registered as more than one ctest entry; none of them shares a fixed temp folder.Tested
main8f481cf:ctest -R "^d3d12_bindless_churn" -j 4 --repeat until-fail:3failedd3d12_bindless_churn_validatedin the first round; each test passes when run alone.--repeat until-fail:5passes 5 rounds, both tests, and leaves noleonida_bindless_churn_test*folder in%TEMP%.scripts\build_runtime.ps1, RelWithDebInfo).GPUs tested: NVIDIA GeForce RTX 3050 6GB Laptop GPU, NVIDIA 621.24, Vulkan 1.4.357, Windows 11 Home 26300.9974
AI-assisted: yes (Claude Code)
Checklist
mainand merges cleanly (a conflicting pull request is labeledneeds rebase).docs/design.md, with how it was confirmed. (n/a: no translator change)🤖 Generated with Claude Code
Imported from ubiquitarianism/leonida. Originally posted by QemmHD on 2026-11-24T07:39:20Z.
Merging. Why merged: d3d12_bindless_churn and its --validated run now use separate temp folders per process, fixing a race between parallel runs.
Why it's good: security-reviewed; reproduced on main
d42773d(the pair failed 4 of 6 runs at -j2); with this PR 8 of 8 runs passed and no stale folders were left.AI-assisted (Claude Code, Claude Opus 5.5).