-
crafter-build 6.5.0
StableAll checks were successfulFlatpak / flatpak (push) Successful in 14m55sreleased this
2026-11-28 13:29:51 +00:00 | 0 commits to master since this releaseNew
- A test that sets
Test::wayland, or.Wayland()on whatAddTestreturns, runs with a headless Wayland compositor of its own instead of your session's display, so the windows it opens throughWAYLAND_DISPLAYno longer show up on your desktop. The compositor is started for that test alone and stopped when it ends; the test finds it throughWAYLAND_DISPLAY, the full path of its socket, and runs withoutDISPLAY. It is weston on its headless backend with its GL renderer, unlessCRAFTER_BUILD_COMPOSITORor the new--compositor=names another command, andhostgives such tests your own display, to watch what they draw. A test whose compositor cannot be started fails, saying why, unless it declares.Requires("tool:weston"), which skips it where weston is missing, and when a test that ran fails, crashes or times out, what its compositor printed, if anything, goes tobuild/test-logs/<name>.compositor.log, named as the test's own log is. The README's new "Tests that open windows" section has the details. - The Flatpak ships weston 16.0.2, with its headless backend, its GL renderer and its desktop shell: the compositor those tests get.
Fixes
- Two runs of
crafter-build testat once no longer write into each other's temporary files. Each test now runs withTMPDIRnaming a directory of its own, made for the run, sofs::temp_directory_path()in a test is the test's alone. Tests that staged files under fixed names there collided with another run doing the same: natively every process shares/tmp, and in the Flatpak every instance of the app shares one. What a test leaves there is removed when it passes or skips, and kept when it fails, crashes or times out, with its place in the test's log, until a later run removes it, a minute after the run that kept it ended, or after its last change to it where that run was killed. This takes a runner that passes the testTMPDIR, as running it directly and qemu-user do; under wine, which does not pass it on, and wasmtime, which passes on no environment at all, a test's temporary directory is what it was. A test that builds against a sysroot it stages there, or has crafter-build fetch a repository it stages there, keys crafter-build's cache on a path that is now a new one every run: pointXDG_CACHE_HOMEinto its temporary directory as well.
Downloads
- A test that sets