[pr-tests][startup] Keep warm fixture progress on its own line in serial tests #463
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
TrustNo1/Darner!463
Loading…
Reference in a new issue
No description provided.
Delete branch "superhero-520/Darner:fix-serial-warm-stderr-fixture"
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
On Windows with
RUST_TEST_THREADS=1, libtest can print its test name and the fixture's firstat 42record on the same line. The warm worker reader then misses the progress record and the test reports the wrong exit classification. This change starts the first progress record on a fresh line in the test fixture. The production worker and classifier are unchanged.How it was tested
The isolated classification test failed 3/3 times on clean Windows
d91d8e4dwithRUST_TEST_THREADS=1. The child printedtest warm::tests::warm_stderr_fixture ... at 42as a single line, and the classifier returnedAgaininstead ofBlame(0). The same test passed with two threads.On
3665e3b5313a41c0569e4109d84281268484dc52, classification, draining a large stderr stream, and watchdog cancellation all passed with one and two threads (six runs). Captured child stdout showsat 42on its own line in the active, success and flood cases under both settings.RUST_TEST_THREADS=1 cargo test -p darner --bin darner --lockedpassed all 192 active tests. The interactive preload window demo was ignored. Both default and all-features workspace Clippy checks passed with--all-targets --locked -- -D warnings.cargo xtask policypassed for 564 files. The full workspace test suite was not run on this commit.Checklist
main. Gameplay is outside the changed path.Checked for overlap
apps/darner/src/warm.rs. None changes this fixture's output. Merged #125 introduced the stderr capture test.AI-assisted contribution.
WIP: [pr-tests][startup] Keep warm fixture progress on its own line in serial teststo [pr-tests][startup] Keep warm fixture progress on its own line in serial tests