python/pypillowfight: Disable tests entirely

This is getting entirely different results on i686-linux:

https://hydra.nixos.org/build/45122757/nixlog/6/raw

According to @jflesch the reference system these tests are built for is
Debian GNU/Linux (possibly only x86_64-linux I guess):

https://github.com/jflesch/libpillowfight/issues/2#issuecomment-268259174

So let's disable them until they're more deterministic and less
platform/distro-specific.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
This commit is contained in:
aszlig 2016-12-20 18:54:52 +01:00
parent d7e342d185
commit 5ed1aee3af
No known key found for this signature in database
GPG key ID: 1DE8E48E57DB5436

View file

@ -8870,12 +8870,9 @@ in {
sha256 = "1rwmajsy9qhl3qhhy5mw0xmr3n8abxcq8baidpn0sxv6yjg2369z";
};
# Disable certain tests. Reported upstream at:
# https://github.com/jflesch/libpillowfight/issues/2
postPatch = ''
sed -i -e '/test_\(all_2\|ace\)/i \ @unittest.expectedFailure' \
tests/tests_ace.py tests/tests_all.py
'';
# Disable tests because they're designed to only work on Debian:
# https://github.com/jflesch/libpillowfight/issues/2#issuecomment-268259174
doCheck = false;
# Python 2.x is not supported, see:
# https://github.com/jflesch/libpillowfight/issues/1