gtk4.git
2 years agotestsuite: Use separate setups for unstable tests instead of should_fail
Simon McVittie [Wed, 23 Nov 2022 19:13:32 +0000 (19:13 +0000)]
testsuite: Use separate setups for unstable tests instead of should_fail

There are two possible interpretations of "expected failure": either
the test *must* fail (exactly the inverse of an ordinary test, with
success becoming failure and failure becoming success), or the test
*may* fail (with success intended, but failure possible in some
environments). Autotools had the second interpretation, which seems
more useful in practice, but Meson has the first.

Instead of using should_fail, we can put the tests in one of two new
suites: "flaky" is intended for tests that succeed or fail unpredictably
according to the test environment or chance, while "failing" is for
tests that ought to succeed but currently never do as a result of a
bug or missing functionality. With a sufficiently new version of Meson,
the flaky and failing tests are not run by default, but can be requested
by running a setup that does not exclude them, with a command like:

    meson test --setup=x11_unstable --suite=flaky --suite=failing

As a bonus, now that we're setting up setups and their excluded suites
programmatically, the gsk-compare-broadway tests are also excluded by
default when running the test setup for a non-broadway backend.

When running the tests in CI, --suite=gtk overrides the default
exclude_suites, so we have to specify --no-suite=flaky and
--no-suite=failing explicitly.

This arrangement is inspired by GNOME/glib!2987, which was contributed
by Marco Trevisan.

Signed-off-by: Simon McVittie <smcv@debian.org>
Applied-upstream: 4.9.2, commit:957dd49ef7d371926f90212bdf52b92742062e3e

Gbp-Pq: Name testsuite-Use-separate-setups-for-unstable-tests-instead-.patch

2 years agogtk4 (4.8.3+ds-1+rpi1) bookworm-staging; urgency=medium
Peter Michael Green [Thu, 19 Jan 2023 23:30:32 +0000 (23:30 +0000)]
gtk4 (4.8.3+ds-1+rpi1) bookworm-staging; urgency=medium

  [changes brought forward from 4.4.0+ds1-5+rpi1 by Peter Michael Green <plugwash@raspbian.org> at Tue, 07 Sep 2021 10:26:09 +0000]
  * Disable a couple of faliing tests in Raspbian.
  * Fix clean target.

  [changes introduced in 4.8.3+ds-1+rpi1 by Peter Michael Green]
  * Disable a couple more failing tests.

[dgit import unpatched gtk4 4.8.3+ds-1+rpi1]

2 years agoImport gtk4_4.8.3+ds-1+rpi1.debian.tar.xz
Peter Michael Green [Thu, 19 Jan 2023 23:30:32 +0000 (23:30 +0000)]
Import gtk4_4.8.3+ds-1+rpi1.debian.tar.xz

[dgit import tarball gtk4 4.8.3+ds-1+rpi1 gtk4_4.8.3+ds-1+rpi1.debian.tar.xz]

2 years agoImport gtk4_4.8.3+ds.orig.tar.xz
Simon McVittie [Tue, 3 Jan 2023 12:45:21 +0000 (12:45 +0000)]
Import gtk4_4.8.3+ds.orig.tar.xz

[dgit import orig gtk4_4.8.3+ds.orig.tar.xz]