docs(packaging): add the 6.5.0 release entry
All checks were successful
Flatpak / flatpak (push) Successful in 14m55s
All checks were successful
Flatpak / flatpak (push) Successful in 14m55s
6.5.0 gives a test that sets Test::wayland a headless compositor of its own, so that the windows a test opens through WAYLAND_DISPLAY no longer show up on the desktop of whoever runs the suite, ships weston in the Flatpak for it, and runs every test's command with a TMPDIR of its own, so that two runs of `crafter-build test` at once no longer write into each other's temporary files where the test's runner hands it TMPDIR, as running it directly and qemu-user do, and wine and wasmtime do not. A minor release, by the version rule: the notes have New and Fixes and nothing Breaking. The range adds Test::wayland, TestBuilder::Wayland, TestResult::compositorLog, RunTestsOptions::compositorOverride and the export of PrivateDirectory, and two parameters at the end of RunSingleTest, both with defaults, so that the calls to it that compiled before compile unchanged.
This commit is contained in:
parent
e643f83c00
commit
c144528481
1 changed files with 13 additions and 0 deletions
|
|
@ -26,6 +26,19 @@
|
|||
</provides>
|
||||
<content_rating type="oars-1.1"/>
|
||||
<releases>
|
||||
<release version="6.5.0" date="2026-11-28">
|
||||
<description>
|
||||
<p>New</p>
|
||||
<ul>
|
||||
<li>A test that sets <code>Test::wayland</code>, or <code>.Wayland()</code> on what <code>AddTest</code> returns, runs with a headless Wayland compositor of its own instead of your session's display, so the windows it opens through <code>WAYLAND_DISPLAY</code> no longer show up on your desktop. The compositor is started for that test alone and stopped when it ends; the test finds it through <code>WAYLAND_DISPLAY</code>, the full path of its socket, and runs without <code>DISPLAY</code>. It is weston on its headless backend with its GL renderer, unless <code>CRAFTER_BUILD_COMPOSITOR</code> or the new <code>--compositor=</code> names another command, and <code>host</code> gives such tests your own display, to watch what they draw. A test whose compositor cannot be started fails, saying why, unless it declares <code>.Requires("tool:weston")</code>, 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 to <code>build/test-logs/<name>.compositor.log</code>, named as the test's own log is. The README's new "Tests that open windows" section has the details.</li>
|
||||
<li>The Flatpak ships weston 16.0.2, with its headless backend, its GL renderer and its desktop shell: the compositor those tests get.</li>
|
||||
</ul>
|
||||
<p>Fixes</p>
|
||||
<ul>
|
||||
<li>Two runs of <code>crafter-build test</code> at once no longer write into each other's temporary files. Each test now runs with <code>TMPDIR</code> naming a directory of its own, made for the run, so <code>fs::temp_directory_path()</code> 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 <code>/tmp</code>, 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 test <code>TMPDIR</code>, 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: point <code>XDG_CACHE_HOME</code> into its temporary directory as well.</li>
|
||||
</ul>
|
||||
</description>
|
||||
</release>
|
||||
<release version="6.4.3" date="2026-11-27">
|
||||
<description>
|
||||
<p>Fixes</p>
|
||||
|
|
|
|||
Loading…
Reference in a new issue