d/rules: Ignore two reftests that fail on i386 only
authorSimon McVittie <smcv@debian.org>
Tue, 22 Aug 2023 11:02:12 +0000 (12:02 +0100)
committerSimon McVittie <smcv@debian.org>
Tue, 22 Aug 2023 16:16:43 +0000 (17:16 +0100)
In these tests, the reference rendering of "Hello world" is as one line,
but on i386 (possibly due to different rounding) it is word-wrapped onto
two lines.

I previously thought this was a regression between 4.10 and 4.12, but
it seems that instead, it was triggered by some other component being
upgraded, possibly fontconfig 2.14.2 or pango 1.51.0.

debian/rules

index 00410fdc06d02abadf96e3153a2fb541cd0ce0dd..32ff7fd94aeb0b16347215782eb80d96a359c609 100755 (executable)
@@ -245,6 +245,14 @@ xfail_reftests = \
 skipped_suites = \
        $(NULL)
 
+# TODO: A 2-word label gets wrapped differently
+ifeq (i386,$(DEB_HOST_ARCH_CPU))
+ignore_reftests += \
+       hbox-with-ellipsizing-wrapping-label \
+       window-border-width \
+       $(NULL)
+endif
+
 # https://bugs.debian.org/1024391
 ifeq (big,$(DEB_HOST_ARCH_ENDIAN))
        ignore_reftests += border-image-excess-size