test: compare fixture renders with golden frames on lavapipe #5
Loading…
Reference in a new issue
No description provided.
Delete branch "golden"
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?
Why
Nothing checked the pixels felis-reel produces, so a felis bump or a frame-loop change could alter every video unnoticed.
What
tests/golden.rsruns the binary on felis-fcast's hello and scroll fixtures (tests/fixtures/) with DejaVu Sans Mono pinned by--font-file, a comment-only config via--theme, and the child's Vulkan loader pinned to lavapipe (VK_DRIVER_FILES; felis requests Vulkan only on Linux, so no hardware adapter can be chosen). Five frames are compared byte for byte withtests/golden/*.png;FELIS_REEL_BLESS=1rewrites them.FELIS_REEL_GOLDEN_FONTSand (Linux)FELIS_REEL_GOLDEN_ICD; outside it the tests skip. CI's existingnix develop -c cargo test --all-featuresruns them.Verification