Repository navigation
Scripts: keep smoke settings out of the calling shell - #2714
luckyteagirl wants to merge 1 commit into
Conversation
Set run overrides in the launcher environment so existing caller settings survive. Verify the child overrides and caller values with the synthetic launcher. Assisted-by: OpenAI Codex (GPT-6.2 Sol)
|
On The artifact test fixture itself had a separate caller-visible effect. In PowerShell 7.6.9 I removed all three variables, invoked Windows PowerShell 5.1 and PowerShell 7.6.9 on Windows 11. OpenAI Codex (GPT-6) prepared and ran the fixtures. Synthetic logs, reports and immediately exiting launchers only; no game, GPU workload or workspace build. |
scripts/smoke.ps1currently changes the calling PowerShell session: it leavesXCL_NETWORK=0and removes any pre-existingXCL_RUN_SECONDSandXCL_ACTIVITYafter a run. Set these three overrides on the launched XCL process instead, so repeated or interactive smoke runs do not change the caller's settings.What is in it
scripts/smoke.ps1: put the three run settings inProcessStartInfo.EnvironmentVariables.scripts/test-smoke-artifacts.tests.ps1: check that the mock child receives0,5,1while the caller retains its original settings. This assertion failed on the parent commit before the fix.README.md: document the launcher's environment scope.Tested
powershell.exe -NoProfile -File .\scripts\test-smoke-artifacts.tests.ps1: passed.pwsh.exe -NoProfile -File .\scripts\test-smoke-artifacts.tests.ps1: passed.powershell.exe -NoProfile -File .\scripts\smoke-title.tests.ps1: passed.pwsh.exe -NoProfile -File .\scripts\smoke-title.tests.ps1: passed..\scripts\test.ps1: workspace build passed; the unfilteredxcl --librun aborted with0xc0000005in the known RX 6800M DXIL test path, so it produced no complete suite count. A subsequent run with--skip gpu::dxil::core_tests::raw_loads_in_root_windows_respect_exec_and_boundscompleted its library harness with 1111 passed, 197 failed, 27 ignored, 1 filtered out; many failures reported an unavailable D3D12 device and a suspect driver state after the abort. These runs do not establish a passing GPU suite.Not tested
AI use