Report diagnostic settings discarded by play.ps1 #137
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/137"
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 avatarmanz/VIctory-7900XTX. Originally posted by feanorsun on 2026-11-26T06:47:51Z.
Refs #25 (item 2)
When
play.ps1clears a diagnostic switch set in PowerShell, the user can now see which inherited value was dropped and how to pass it explicitly with-More. The launcher compares the settings it cleared with the final process environment, skips explicit-Moreentries, and prints one sorted list of names. Values are kept out of the message.Verified on Windows using temporary copies of the upstream and updated scripts. Each case ran in a fresh
powershell.exe -NoProfileprocess with two zero-byte executable placeholders. The wrapper captured the environment and threw a marker at the finalPush-Location, before the launcher could execute the binary.VICTORY_GPU_TIMINGandVICTORY_DESC_WHYVICTORY_DESC_WHYfollowed byVICTORY_GPU_TIMING, each once, with the-Morehint and no test values.VICTORY_CACHE_DIRandVICTORY_GPU_TIMING, with a different timing value supplied via-MoreAdditional cases covered all four preserved paths, matching and differing preset values (including a difference in letter case alone), and mixed-case variable names. All nine cases reached the checkpoint exactly once on each revision.
Imported from avatarmanz/VIctory-7900XTX. Originally posted by avatarmanz on 2026-11-26T07:54:44Z.
Merged into main in the next push (tests pass); thanks.