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
This commit is contained in:
parent
e1bc4f769e
commit
9f0eb6735d
9
debian/changelog
vendored
9
debian/changelog
vendored
@ -16,6 +16,15 @@ gtk+3.0 (3.24.0-4) UNRELEASED; urgency=medium
|
||||
* Stop marking some reftests as known failures. They now succeed on
|
||||
all release architectures.
|
||||
- d/p/reftest-known-fail.patch: Drop, no longer needed
|
||||
* Run installed-tests as autopkgtests (Closes: #908440)
|
||||
- Mark them as flaky for now due to the following known failures:
|
||||
+ reftests-dark, reftests-hci, reftests-hc, reftests:
|
||||
- 34 box-shadow-changes-modify-clip.ui
|
||||
- 87 label-text-shadow-changes-modify-clip.ui
|
||||
+ reftests-hci only:
|
||||
- 119 sizegroups-basics.ui
|
||||
+ reftests-hc and reftests only:
|
||||
- 10 background-origin.ui
|
||||
|
||||
-- Simon McVittie <smcv@debian.org> Thu, 13 Sep 2018 08:29:08 +0100
|
||||
|
||||
|
4
debian/tests/control
vendored
4
debian/tests/control
vendored
@ -1,3 +1,7 @@
|
||||
Tests: build python3-gi
|
||||
Depends: libgtk-3-dev, build-essential, xauth, xvfb, python3-gi, gir1.2-gtk-3.0, dbus
|
||||
Restrictions: allow-stderr
|
||||
|
||||
Tests: installed-tests
|
||||
Depends: at-spi2-core, dbus (>= 1.8), gnome-desktop-testing (>= 2018.1-1~), gtk-3-examples, xauth, xvfb
|
||||
Restrictions: allow-stderr, flaky
|
||||
|
19
debian/tests/installed-tests
vendored
Executable file
19
debian/tests/installed-tests
vendored
Executable file
@ -0,0 +1,19 @@
|
||||
#!/bin/sh
|
||||
# autopkgtest check: Run the installed-tests to verify GTK+ works correctly
|
||||
# Based on glib2.0's d/tests/installed-tests, (C) 2013 Canonical Ltd.
|
||||
|
||||
set -e
|
||||
|
||||
# Disable gvfs if it happens to be installed. We want to test the built-in
|
||||
# stuff
|
||||
export GIO_USE_VFS=local
|
||||
export GIO_USE_VOLUME_MONITOR=unix
|
||||
|
||||
export XDG_RUNTIME_DIR="$AUTOPKGTEST_TMP"
|
||||
|
||||
exec dbus-run-session -- \
|
||||
xvfb-run -a \
|
||||
gnome-desktop-testing-runner \
|
||||
--report-directory="$AUTOPKGTEST_ARTIFACTS" \
|
||||
--tap \
|
||||
gtk+
|
Loading…
Reference in New Issue
Block a user