test(victory-hle): pin fake_dll::normalise DLL name normalisation #592

Open
github-bot wants to merge 1 commit from github-bot/gh-588 into main AGit
Owner

@⁠AnastasisKon on GitHub · 2026-11-28 10:24 UTC · original
AnastasisKon:vibe/fake-dll-normalise-tests-1705ac → main · +39 −0 · 1 files · 1 commits · open

What this changes

Pins fake_dll::normalise in crates/victory-hle/src/host_posix/fake_dll.rs with unit tests: full Windows paths (both separators), bare names gaining .dll, lower-casing, and dots in directory names not counting as the file extension. No behaviour change. Refs #591

How it was tested

  • cargo test --target x86_64-apple-darwin -p victory-hle — 343 passed (5 new fake_dll tests), 0 failed, run under Rosetta on the arm64 host
  • cargo test -p victory-hle -p victory -p victory-gpu -p xtask (host arm64) — all ok
  • cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings — clean (RC=0)
  • cargo xtask policy — 404 files ok
  • Not needed (no game run; pure string function)

Checklist

  • No game files, game code, disassembly listings or SDK files are included
  • Guesses about undocumented console behaviour are marked in the code and in docs/native-host.md — n/a, no behaviour change
  • New diagnostics are behind a VICTORY_* variable and documented — n/a, no new diagnostics
**@⁠AnastasisKon** on GitHub · 2026-11-28 10:24 UTC · [original](https://github.com/LakshanSivakumar/Native-Victory-macOS/pull/588) `AnastasisKon:vibe/fake-dll-normalise-tests-1705ac` → `main` · +39 −0 · 1 files · 1 commits · open ## What this changes Pins `fake_dll::normalise` in `crates/victory-hle/src/host_posix/fake_dll.rs` with unit tests: full Windows paths (both separators), bare names gaining `.dll`, lower-casing, and dots in directory names not counting as the file extension. No behaviour change. Refs #591 ## How it was tested - [x] `cargo test --target x86_64-apple-darwin -p victory-hle` — 343 passed (5 new fake_dll tests), 0 failed, run under Rosetta on the arm64 host - [x] `cargo test -p victory-hle -p victory -p victory-gpu -p xtask` (host arm64) — all ok - [x] `cargo clippy --workspace --all-targets --locked --target x86_64-pc-windows-gnullvm -- -D warnings` — clean (RC=0) - [x] `cargo xtask policy` — 404 files ok - [x] Not needed (no game run; pure string function) ## Checklist - [x] No game files, game code, disassembly listings or SDK files are included - [x] Guesses about undocumented console behaviour are marked in the code and in docs/native-host.md — n/a, no behaviour change - [x] New diagnostics are behind a `VICTORY_*` variable and documented — n/a, no new diagnostics
Unit tests for the path-to-key mapping (full Windows paths, forward
slashes, bare names gaining .dll, lower-casing, dots in directory
names). Runs under the x86_64-apple-darwin test target.

Refs #587
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-28 10:29:04 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/592/head:github-bot/gh-588'
git switch 'github-bot/gh-588'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-588'
git switch 'github-bot/gh-588'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-588'
git switch 'github-bot/gh-588'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-588'
git switch 'main'
git merge --squash 'github-bot/gh-588'
git switch 'main'
git merge --ff-only 'github-bot/gh-588'
git switch 'main'
git merge 'github-bot/gh-588'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.