Mark some reftests as allowed to fail

These reftests are sensitive to the build environment (exact versions
of Pango, fonts etc.) and are disabled in upstream's CI.

Closes: #954584
This commit is contained in:
Simon McVittie 2020-04-02 11:39:13 +01:00
parent d800da987b
commit 975ef47c60

8
debian/rules vendored
View File

@ -192,7 +192,15 @@ endif
override_dh_auto_test:
ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS)))
# Mark reftests with known failures as non-fatal
# (See also somehow_broken in testsuite/reftests/meson.build)
touch testsuite/reftests/button-wrapping.ui.known_fail
touch testsuite/reftests/cellrenderer-pixbuf-stock-rtl.ui.known_fail
touch testsuite/reftests/flipping-icons.ui.known_fail
touch testsuite/reftests/label-sizing.ui.known_fail
touch testsuite/reftests/label-wrap-justify.ui.known_fail
touch testsuite/reftests/quit-mnemonic.ui.known_fail
touch testsuite/reftests/symbolic-icon-translucent-color.ui.known_fail
touch testsuite/reftests/window-height-for-width.ui.known_fail
# So that gsettings can find the (uninstalled) gtk schemas
mkdir -p debian/build/glib-2.0/schemas/
cp gtk/org.gtk.* debian/build/glib-2.0/schemas/