Skip to content

Commit

Permalink
python/pypillowfight: Disable tests entirely
Browse files Browse the repository at this point in the history
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):

openpaperwork/libpillowfight#2 (comment)

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

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
  • Loading branch information
aszlig committed Dec 20, 2016
1 parent d7e342d commit 5ed1aee
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5ed1aee

Please sign in to comment.