upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/tests/test_run_gpu_tests_python_assembler.py
diff options
context:
space:
mode:
authorMykolas009 <171140154+Mykolas009@users.noreply.github.com>2026-12-01 23:49:40 +0200
committerMykolas009 <171140154+Mykolas009@users.noreply.github.com>2026-12-02 00:05:03 +0200
commit9fc7de03e3397516f12217e38c93db47c05bf8fc (patch)
tree138859084e61616c98d5ddcb91ca2dc864984580 /tests/test_run_gpu_tests_python_assembler.py
parent218b0328b8ae4343041eccf6dbe6d5065263fbe4 (diff)
game-gate: the DLSS preflight follows the switch PowerShell binds (D3D12-F1-DLSS-REBUILD)
The preflight added in 218b0328b read -NoDlss out of -PlayArgs with a pattern over the text. Two reviews of the pull request showed where that goes wrong: - `-NoDlss: $true`, a space after the colon, binds true, and the gate refused the run and asked for a DLSS rebuild (andrew-ai, PowerShell 7.6.9); - `-Adapter 'Fixture -NoDlss Adapter'` binds no switch, and the gate let the run go on into a build inside the run (merzleckeier, PowerShell 7.4.21). The gate now asks PowerShell itself: Test-NoDlssBound takes the param block of scripts\play-d3d12.ps1 and lets it bind the arguments the launch line gives the script (-Game, -Data, -More, then -PlayArgs); nothing of the play script runs. The first thing the probe writes is the answer, so text behind a `;` in -PlayArgs cannot stand in for it. Arguments PowerShell cannot bind (an ambiguous -No, a switch that does not exist, a value outside a ValidateSet) count as -NoDlss not said, as the start itself fails on them, and the refusal then says that they did not bind and with which error. The probe is reached only when the build's note, the SDK and cargo already say the play script would build. tests/test_game_gate.py takes the function out of the script and puts 19 lines of -PlayArgs to PowerShell 7 against the real play script's parameters: bare, shortened, :$true, : $true, :$false, : $false, alone and among other switches, the quoted adapter name alone, with -NoDlss:$false and with a real -NoDlss, an argument that does not bind, and a `; $true` behind the arguments (skipped where there is no pwsh). A second test holds that no pattern is matched against -PlayArgs any more. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Diffstat (limited to 'tests/test_run_gpu_tests_python_assembler.py')
0 files changed, 0 insertions, 0 deletions