Commit Graph

26 Commits

Author SHA1 Message Date
Simon McVittie
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
Simon McVittie
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
Simon McVittie
9b79bcb18a Merge remote-tracking branch 'origin/debian/master' into debian/master 2022-11-24 13:51:32 +00:00
Simon McVittie
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
Jeremy Bicha
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
Simon McVittie
98b1965e99 Build-/test-depend on dbus-daemon for dbus-run-session, instead of dbus 2022-11-15 11:33:49 +00:00
Simon McVittie
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
Simon McVittie
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
Simon McVittie
0b31aa3705 d/tests/build: Fail if using an undefined variable ("unofficial strict mode") 2019-12-12 17:38:22 +00:00
Simon McVittie
aedcd59ed9 d/tests/build: Show commands before they are executed 2019-12-12 17:37:52 +00:00
Simon McVittie
bbea2704cd d/tests/build: Remove trailing whitespace 2019-12-12 17:37:12 +00:00
Simon McVittie
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
Simon McVittie
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
Simon McVittie
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
Simon McVittie
7491e451ce d/tests/python3-gi: Don't fail if gir1.2-gtk-4.0 is installed 2019-07-17 10:57:34 +01:00
Simon McVittie
cff0982e3d d/tests/build: Mark as superficial 2019-02-06 15:37:58 +00:00
Simon McVittie
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
Simon McVittie
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
Simon McVittie
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
Simon McVittie
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
Simon McVittie
f5658275ae Allow stderr in autopkgtests
They produce harmless diagnostics.
2018-03-22 15:49:29 +00:00
Jeremy Bicha
3c11e78406 Fix file permissions after svn conversion 2017-12-21 20:53:48 -05:00
Michael Biebl
37e49816e5 Add dbus to autopkgtest dependencies to ensure machine-id is properly
setup.
2016-08-31 16:48:20 +00:00
Dmitry Shachnev
1158bccfc4 Autopkgtests fixes: add missing xauth dependency, and stop using
deprecated GtkStock item.
2014-06-16 14:01:52 +00:00
Michael Biebl
95437575d4 Move experimental branch of gtk+3.0 to unstable 2013-05-23 13:17:54 +00:00
Sjoerd Simons
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