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.
This commit is contained in:
Simon McVittie
2022-11-23 21:48:08 +00:00
parent baa6ae9e9c
commit 5794821592
8 changed files with 288 additions and 43 deletions

View File

@ -5,7 +5,3 @@ Restrictions: allow-stderr, superficial
Tests: installed-tests
Depends: at-spi2-core, dbus-daemon, gnome-desktop-testing (>= 2018.1-1~), gtk-3-examples, librsvg2-common, xauth, xvfb
Restrictions: allow-stderr
Tests: installed-tests-a11ystate installed-tests-reftests
Depends: at-spi2-core, dbus-daemon, gnome-desktop-testing (>= 2018.1-1~), gtk-3-examples, librsvg2-common, xauth, xvfb
Restrictions: allow-stderr, flaky

View File

@ -1,19 +0,0 @@
#!/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 -s "-screen 0 1024x768x24" \
gnome-desktop-testing-runner \
--report-directory="$AUTOPKGTEST_ARTIFACTS" \
--tap \
"gtk+/a11ystate.test"

View File

@ -1,19 +0,0 @@
#!/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 -s "-screen 0 1024x768x24" \
gnome-desktop-testing-runner \
--report-directory="$AUTOPKGTEST_ARTIFACTS" \
--tap \
"gtk+/reftests"