diff options
author | Daniel Friesel <derf@finalrewind.org> | 2016-02-15 22:10:06 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2016-02-15 22:10:06 +0100 |
commit | 74c6186a0e8cffd86a068d3114fa6afbb8274ad9 (patch) | |
tree | ea0027dff431e7c13e68b8500a136bcd13b1a143 | |
parent | ce776bb156b827fbfb9e93bfe6065b6e2d841cf0 (diff) |
skip all tests on debian arm* / mips* (broken Imlib2, again)
-rw-r--r-- | Makefile | 6 | ||||
-rw-r--r-- | man/feh.pre | 10 | ||||
-rw-r--r-- | test/imlib2-bug-notice | 11 |
3 files changed, 23 insertions, 4 deletions
@@ -12,7 +12,11 @@ build-applications: @${MAKE} -C share/applications test: all - @PACKAGE=${PACKAGE} prove test/feh.t test/mandoc.t + @if ! uname -m | fgrep -q -e arm -e mips || ! test -e /etc/debian_version; then \ + PACKAGE=${PACKAGE} prove test/feh.t test/mandoc.t; \ + else \ + PACKAGE=${PACKAGE} prove test/feh.t test/mandoc.t || cat test/imlib2-bug-notice; \ + fi test-x11: all test/run-interactive diff --git a/man/feh.pre b/man/feh.pre index 747c471..50f5961 100644 --- a/man/feh.pre +++ b/man/feh.pre @@ -1703,10 +1703,14 @@ section. . On some systems with Imlib2 1.4.7, .Nm -may be unable to load gif images unless they are the only image in the -filelist. This appears to be caused by a Debian and/or Imlib2 bug. See +may be unable to load gif images. For affected mips, mipsel and arm devices, +gif support is completely broken, while on x86 / x86_64 gifs can usually +only be loaded if they are the first image in the filelist. +This appears to be caused by a Debian and/or Imlib2 bug. See .Aq https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813729 -for details. +for details. Workaround: Use +.Cm --magick-timeout 5 +.Pq or some other positive value . . .Pp . diff --git a/test/imlib2-bug-notice b/test/imlib2-bug-notice new file mode 100644 index 0000000..46da336 --- /dev/null +++ b/test/imlib2-bug-notice @@ -0,0 +1,11 @@ +[!] Possibly broken imlib2 / libgif detected - ignoring test results + +Imlib2 1.4.7 is unable to load GIF images on Debian stretch/sid systems (and +maybe other distros too). On x86 / x86_64 this applies to most gifs which are +not the first file in the filelist, while on mips/mipsel and (some?) arm boxes +it is unable to load any gif files. Since feh's tests include gifs, they fail. + +As there's nothing we can do about it (and other image formats still work +fine), we'll just pretend everything's okay. + +See <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=813729> for details. |