tools: test native-binary.sh's find_rustup PATH handling, wired into CI (#504) #509
No reviewers
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!509
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-505"
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:25 UTC · original
AnastasisKon:vibe/rustup-path-test-1705ac→main· +54 −0 · 2 files · 1 commits · merged 2026-11-28 01:37 UTCWhat this changes
Refs #508. Tools-only. New
tools/macos/tests/rustup-path.shpinsfind_rustup's three paths with stub rustup binaries and a scratch CARGO_HOME/HOMEBREW_PREFIX: already on PATH (found,rustup_foundempty); only in$CARGO_HOME/binor$HOMEBREW_PREFIX/opt/rustup/bin(PATH extended,rustup_foundnames the folder); nowhere (returns 1,rustup_foundempty). One new step in.github/workflows/ci.ymlruns it with the other Bash 3.2 script tests.How it was tested
/bin/bash tools/macos/tests/rustup-path.sh— oktools/macos/tests/*.sh+run-summary.sh --self-test— pass (Bash 3.2)cargo test -p victory-hle -p victory -p victory-gpu -p xtask— pass (RC=0; no Rust change)cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings— pass (RC=0, 0 errors)cargo xtask policy— pass (399 files ok)Checklist
VICTORY_*variable — n/a, none added@Olima34 on GitHub · 2026-11-28 01:36 UTC · original · approved these changes
Check report (helping the maintainer clear the queue):
checkandmacos-scriptsgreen on the current head.native-binary.sh'sfind_rustup(on PATH, inCARGO_HOME, in Homebrew's keg-only dir, nowhere) and one CI step that runs it. It touches no other workflow line.226645f9) merged with this PR and the other test/docs/tools PRs we're landing in this batch (#401 #403 #426 #471 #475 #479 #483 #485 #490 #493 #498 #502 #509 #515). On it, thevictory-gpu(arm64),victory-shader,victory-backend,victory-metalandvictorytests pass, as do the macOS script tests (rustup-path.sh,run-summary-compare.sh,run-summary.sh --self-test), Windows clippy (-D warnings) andcargo xtask policy. Onevictory-gpurun in four failed main's ownmulti_mip_array_and_placed_depth_twins_preserve_all_subresources_and_remirror_immediately. That test also flakes on main alone, so it isn't from this batch.Thanks @AnastasisKon!