Isolate folder tests from inherited Victory settings #497
No reviewers
Labels
No labels
AMD
audio
bug
confirmed
crash
cutscene
dlss
documentation
duplicate
enhancement
fixed-on-main
frame-generation
hle
input
INTEL
lighting
linux-proton
memory
MULDER
needs-info
needs-logs
needs-rebase
NVIDIA
performance
post-merge
pr-diagnostics
pr-docs
pre-merge
pr-feature
pr-fix
pr-performance
pr-refactor
pr-tests
question
RAYTRACING
relevance
high
relevance
low
relevance
medium
relevance
very-high
rendering
report
roadmap-proposal
saves
series-s
shaders
startup
status
blocked-by-rework
status
needs-test-report
status
needs-triage
status
ready-for-review
status
stale
status
superseded
status
wip
tools
ui
upstream
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner!497
Loading…
Reference in a new issue
No description provided.
Delete branch "superhero-520/Darner:test-isolate-legacy-folder-overrides"
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?
Contributor role (optional)
superhero-520
What it changes
Two upstream test reports (#493 and #494) found that an inherited
VICTORY_HOMEcan send the folder tests to a contributor's own directory. Startup intentionally copies a legacyVICTORY_*setting when the matchingDARNER_*setting is absent. The test helper previously removed only the current names.The folder and cache integration tests now clear both names for seven folder settings before applying their own temporary directories and explicit overrides. This includes the early play-error log test. Production code is untouched.
How it was tested
d91d8e4. Candidate:85889d7.picked_folders, twocache_paths).VICTORY_HOMEVICTORY_CACHE_DIRcargo test --locked -p darner --test picked_folders --test cache_pathscommand passed all ten tests. A separate native matrix passed 120/120 across 12 configurations, including each individual legacy setting and each path with its picked marker. A further run with all 14 current and legacy names present also passed 10/10.cache/shaders/touched-sinceunder the temporary legacy home, orshaders/touched-sinceunder the temporary legacy cache. The candidate preserved the sentinel files and directories throughout the matrix.darner configcontrols on the candidate selected the legacy home with onlyVICTORY_HOMEset, and the current home when both names were present.--all-targets --locked -- -D warnings(default features and--all-features).cargo xtask policypassed for 565 files andgit diff --check origin/main...HEADpassed.Checklist
Checked for overlap
WIP: [pr-tests][startup] Isolate folder tests from inherited Victory settingsto [pr-tests][startup] Isolate folder tests from inherited Victory settingsMerged onto
c8258f9and verified on Windows 11 with a populated user environment/settings setup:cargo xtask policypassed (577 files ok),clippy --all-targets -- -D warnings(default &--all-features) passed with 0 warnings, andcargo test --locked -p darnerpassed all219tests (207unit +2cache_paths+2census+8picked_folders,0failed,1ignored).[pr-tests][startup] Isolate folder tests from inherited Victory settingsto Isolate folder tests from inherited Victory settingsView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.