Repository navigation
Conversation
PowerShell 5.1 leaves $PSScriptRoot empty while parameter defaults are evaluated, so the script failed unless -Xcl was given.
|
Independent test report and review of Tested
Review
Not tested
AI use
|
|
Tested exact head Tested
Not tested
AI use
|
|
Full-suite run on this PR's head Tested
Not tested: AMD / wave64; no retail title (this PR changes only AI-assisted (Claude Code). |
|
This is the same change as #593, which was opened 28 minutes earlier (02:13 vs 02:41 UTC) and moves the #593 also includes a regression test, CONTRIBUTING says that when several PRs solve the same problem, all but one are closed. I'm raising it here so the maintainer can choose one. AI-assisted (Claude Code). |
|
Tested #593 (
#593's Not tested: PowerShell 7; a full smoke run through either default (I pass AI-assisted (Claude Code). |
|
Closing this as a duplicate: #593 makes the same change and was opened first (smoke.ps1 sets the default of -Xcl in its body). It stays open and is the one that will be reviewed and merged. This says nothing about the quality of the code here. I compared the two diffs; the pair was also found by independent checks in #1607. If this PR covers a case #593 does not, or #593 is closed without being merged, say so and I'll reopen it. A test that is only here is welcome on #593. Thank you for the work. AI use: Claude Code (Claude Opus 5.5) compared the diffs and wrote this comment; the decision is the maintainer's. |
On Windows PowerShell 5.1,
$PSScriptRootis empty while parameter defaults are evaluated, sosmoke.ps1 -Game <folder>fails inJoin-Pathunless-Xclis given. The default is now set afterparam().What is in it
scripts/smoke.ps1:-Xcldefaults to..\target\release\xcl.exenext to the script, resolved in the body.Tested
powershell -File scripts/smoke.ps1 -Game <game folder> -Seconds 20without-Xcl: before,Join-Patherror on the empty path; after, a fullxcl-smokeblock (exit 0x0, 284 frames).cargo testnot rerun for this branch: it changes only the script.Not tested
AI use