HLE tests: cover Windows path rules on every host #290
No reviewers
Labels
No labels
accessibility
area: build
area: formats
area: gpu
area: loader
area: runtime
area: shader
bug
documentation
duplicate
enhancement
good first issue
gpu: amd
gpu: intel
gpu: nvidia
help wanted
host: wine
invalid
out of scope
question
request
run report
triage: confirmed
triage: has patch
triage: merge candidate
triage: needs info
triage: needs rebase
triage: needs work
triage: proposed close
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/Marvisak--VIctory!290
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-290"
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?
@Quat3rnion on GitHub · 2026-11-24 02:04 UTC · original
Quat3rnion:victory-path-tests→main· +221 −88 · 3 files · 1 commits · openWhat
The plan asks for Linux-independent tests of the Windows path semantics so
the branches stay covered on CI. The rules lived inside the Windows-only
filesmodule, where Linux could not reach them. This moves the lexicaldecisions — drive letters and casing,
X:relative roots, slash handling,\\?\paths, UNC conversion, dot segments and the long-path threshold —into a host-independent
pathsmodule with seven tests.files.rskeepsthe host calls and delegates to the same functions; there is no behaviour
change.
An AI tool wrote part of this change.
Tested
cargo test --workspacewith PR #112's Linux build fix applied locally (not part of this PR): 171 passed, 0 failed, 3 ignored. The seven new path tests pass on Linux.cargo check --target x86_64-pc-windows-gnu --workspace --testspasses. The Windows-onlyfilestests were not run; there is no Windows host here.cargo xtask policypasses (151 files ok). No game files or data from them were added.Checklist
cargo xtask policypasses. No game files or data from them were added.@jeremygold02 on GitHub · 2026-11-24 04:17 UTC · original
Tested PR #290 at head
8b288a11bf341f849875ab3e6072e5402d65de17(state at test time: OPEN). Pre-comment refresh: state OPEN, head unchanged at8b288a11bf341f849875ab3e6072e5402d65de17.cargo test --locked -p victory-hle narrow_drive_detection_precedes_decoding— passed (ok. 1 passed; 0 failed; 0 ignored; 0 measured; 87 filtered out; finished in 0.00s ); cases: modules::paths::tests::narrow_drive_detection_precedes_decoding.Behavior covered: Checks Windows drive detection before narrow-path decoding and covers drive-relative, verbatim, long and UNC path rewriting on the host.
Code: crates/victory-hle/src/modules/paths.rs, crates/victory-hle/src/modules/files.rs
@Marvisak on GitHub · 2026-11-25 00:26 UTC · original
Automated triage for the maintainers.
Needs rebase. This PR does not merge cleanly into current
main(ac2525d). Conflicting files:crates/victory-hle/src/modules/mod.rs.The content has not been reviewed yet; it will be once the branch is rebased onto
main.Generated by Claude Code
View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.