Commit Graph

33 Commits

Author SHA1 Message Date
fcfe6875c4 Add test coverage for the historical path of gtk-query-immodules-3.0 2025-01-14 14:05:34 +00:00
f74169920b d/control, d/tests/control: Drop dependency on adwaita-icon-theme-full
This package name was Ubuntu-specific, and was dropped since 45.0-4
(the Debian version of a-i-t has a Provides for a-i-t-full). Use a
versioned build-dependency so that we definitely have all of the
necessary icons to run tests successfully.

Thanks: Heinrich Schuchardt
2024-03-14 09:31:45 +00:00
948aec536d d/tests/manual: Fix a typo in a comment 2024-03-06 13:55:54 +00:00
c6ea21dbf8 d/control, d/tests: Use pkgconf in preference to pkg-config 2024-03-06 13:45:40 +00:00
9fdc70a849 d/tests/manual: Add .gitignore
local-*.sources are not intended to be committed.

Gbp-Dch: ignore
2024-03-06 13:42:49 +00:00
d2572c8878 d/tests/1065494-futureproofing: Add a test for recurrence of #1065494
If at some point in the future we have another transition as extensive
as time64, then libgtk-3-0t64 could conceivably be replaced by some
other package, which I have modelled here as libgtk-3-0xyz. If that
happens, we need to avoid deletion of immmodules.cache, otherwise
we will have another bug similar to #1065494.

This test-case depends on several implementation details of dpkg-repack
and libgtk-3-0t64, so it might need to be adjusted in the future. As
a result, I have marked it as flaky, so that failures in the official
autopkgtest environment will not be considered a release-critical bug
that stalls migration and requires immediate intervention by maintainers.
2024-03-06 11:19:12 +00:00
f338b27188 d/tests/manual/1065494: Add a manual reproducer for #1065494
Based on the reproducer I added to src:glib2.0 for the similar bug #1065022.
This one is simpler, because only architecture-specific multiarch files
are affected.
2024-03-06 10:56:40 +00:00
dfa31ce3c1 d/tests, d/run-tests.sh: Copy run-with-display from gtk4
This should make the build-time tests a bit more robust, by using the
-noreset option to avoid a race condition (see #981201).
2023-01-03 12:44:55 +00:00
7c271ab98e Force software rendering during tests
Workaround for Mesa regression #1025312. We expect only software
rendering to be available in a buildd or autopkgtest environment anyway.
2022-12-02 15:31:57 +00:00
9b79bcb18a Merge remote-tracking branch 'origin/debian/master' into debian/master 2022-11-24 13:51:32 +00:00
5794821592 Add proposed patches to improve handling of flaky tests
With these changes, the flaky/known-failing tests are no longer installed
as installed-tests at all, so remove them from the autopkgtest metadata.
2022-11-24 13:41:29 +00:00
6a796eebce debian/control.in, debian/tests/control: Depend on adwaita-icon-theme-full
for installed tests

Gbp-Dch: Full
2022-11-23 13:46:02 -05:00
98b1965e99 Build-/test-depend on dbus-daemon for dbus-run-session, instead of dbus 2022-11-15 11:33:49 +00:00
125c1777d7 d/tests: Disable AT-SPI for tests that do not guarantee to install it
This squashes another warning.
2021-08-20 16:01:21 +01:00
cc3d2e7851 Depend on librsvg2-common for tests
The unit tests expect that gdk-pixbuf can load SVG files. This is
provided by librsvg2-common, which used to be pulled in by
adwaita-icon-theme.

Closes: #959390
2020-05-06 22:55:19 +01:00
0b31aa3705 d/tests/build: Fail if using an undefined variable ("unofficial strict mode") 2019-12-12 17:38:22 +00:00
aedcd59ed9 d/tests/build: Show commands before they are executed 2019-12-12 17:37:52 +00:00
bbea2704cd d/tests/build: Remove trailing whitespace 2019-12-12 17:37:12 +00:00
bbe675c06a d/tests/build: Use correct compiler for cross-architecture testing
* d/tests/build: Use correct compiler for proposed autopkgtest
  cross-architecture testing support, based on a patch for clutter-1.0
  by Steve Langasek
* d/tests/build: Fix shellcheck warnings
2019-12-12 16:33:30 +00:00
bba0b5270d d/tests: Return G_SOURCE_REMOVE from timeout callback
Otherwise it's undefined behaviour in C. Implicitly returning None
from the timeout callback in Python is actually OK, but explicit is
better than implicit.
2019-09-15 15:30:41 +01:00
6ca15d185b Refer to GTK rather than GTK+ in packaging files
The library was renamed in February 2019.
2019-08-05 08:10:33 +01:00
7491e451ce d/tests/python3-gi: Don't fail if gir1.2-gtk-4.0 is installed 2019-07-17 10:57:34 +01:00
cff0982e3d d/tests/build: Mark as superficial 2019-02-06 15:37:58 +00:00
ae844c5d59 d/tests: Also mark reftests as flaky due to a known failure
symbolic-icon-translucent-color appears to have regressed and now differs
from the reference by 1 column of pixels.
2018-09-30 16:22:26 +01:00
53b0a47e1c Run a11ystate.test separately and mark it as flaky for now
This is due to a known failure: state/focus1.ui passes in a desktop
session but fails in a minimal autopkgtest VM. Treating one test as
flaky seems better than treating all tests as flaky.
2018-09-19 23:32:34 +01:00
ddcdefa98c Use the same Xvfb screen configuration as in the upstream GTK+ 4 Gitlab-CI tests
This will hopefully make GLX work (see also #874077)
2018-09-19 10:00:20 +01:00
9f0eb6735d d/tests/installed-tests: Run installed-tests
Mark them as flaky for now due to some known failures (which succeed
at build-time, so they are presumably solvable).

Closes: #908440
2018-09-13 12:40:43 +01:00
f5658275ae Allow stderr in autopkgtests
They produce harmless diagnostics.
2018-03-22 15:49:29 +00:00
3c11e78406 Fix file permissions after svn conversion 2017-12-21 20:53:48 -05:00
37e49816e5 Add dbus to autopkgtest dependencies to ensure machine-id is properly
setup.
2016-08-31 16:48:20 +00:00
1158bccfc4 Autopkgtests fixes: add missing xauth dependency, and stop using
deprecated GtkStock item.
2014-06-16 14:01:52 +00:00
95437575d4 Move experimental branch of gtk+3.0 to unstable 2013-05-23 13:17:54 +00:00
ce61c8b596 * New upstream release
* Sync with ubuntu:
  * debian/rules: Make test failures fatal again
  * debian/libgtk-3-0.symbols: Updated
  * debian/rules: Update build-depends
  * debian/libgtk-3-bin.install: Add gtk-launch: A new commandline utility
    to launch an application from its desktop file
  * Add autopkgtest support
* debian/patches/072_statusicon_icon_size.patch:
  * Removed merged upstream
* debian/patches/074_try-harder-to-discriminate-Shift-F10-and-F10.patch:
  * Removed, fixed upstream
* debian/patches/073_transparent_colors.patch
  * Removed, fixed upstream
* debian/control.in: bump glib2.0 build-dep to >= 2.33.14 to trump the dodgy
  version in unstable
2012-09-23 21:06:40 +00:00