tools: test native-binary.sh's find_rustup PATH handling, and wire it into CI #508
Labels
No labels
accessibility
bug
claimed
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
tester report
urgent
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/LakshanSivakumar--Native-Victory-macOS#508
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
@AnastasisKon on GitHub · 2026-11-27 22:24 UTC · original
What
tools/macos/native-binary.sh'sfind_rustup(shared by native-setup.sh and run-native.sh) has three paths — rustup already on PATH, rustup only in CARGO_HOME/bin or Homebrew's keg-only opt dir (PATH gains it,rustup_foundnames the folder), and no rustup (returns 1) — and no test. The existingtools/macos/tests/harness covers its siblings (console-default, target-directory) but not this one, and ci.yml lists each test by name.What this changes
One change, tools-only: new
tools/macos/tests/rustup-path.shcovering the three paths with stub rustup binaries and a scratch CARGO_HOME/HOMEBREW_PREFIX, plus one step in.github/workflows/ci.ymlrunning it (Bash 3.2) next to the others.How it was tested
/bin/bash tools/macos/tests/rustup-path.shtools/macos/tests/*.sh+run-summary.sh --self-testcargo test -p victory-hle -p victory -p victory-gpu -p xtask, windows clippy gate,cargo xtask policy(no Rust change, run anyway)@AnastasisKon on GitHub · 2026-11-27 22:24 UTC · original
/claim
@github-actions[bot] on GitHub · 2026-11-27 22:24 UTC · original
Claimed by @AnastasisKon. Open a draft pull request with
Refs #504in its description within 24 hours, or the claim expires.github-bot referenced this issue2026-11-27 23:19:05 +00:00
@AnastasisKon on GitHub · 2026-11-28 12:47 UTC · original
/release - done: PR #509 is merged upstream (2026-11-28T01:37Z), so this one is finished on
mainitself, not only in my fork. Freeing the claim so the queue shows the truth.@github-actions[bot] on GitHub · 2026-11-28 12:47 UTC · original
Released. This issue is free to claim.