about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-12-20 18:54:52 +0100
committeraszlig <aszlig@redmoonstudios.org>2016-12-20 19:00:29 +0100
commit5ed1aee3af6ce80c63e534fc26d7ee611d4ca50d (patch)
treed12a2ee8af60db64988009998d5379b99063abf3 /pkgs
parentd7e342d185fd7c3f1f7d09d104764f1a66470818 (diff)
downloadnixlib-5ed1aee3af6ce80c63e534fc26d7ee611d4ca50d.tar
nixlib-5ed1aee3af6ce80c63e534fc26d7ee611d4ca50d.tar.gz
nixlib-5ed1aee3af6ce80c63e534fc26d7ee611d4ca50d.tar.bz2
nixlib-5ed1aee3af6ce80c63e534fc26d7ee611d4ca50d.tar.lz
nixlib-5ed1aee3af6ce80c63e534fc26d7ee611d4ca50d.tar.xz
nixlib-5ed1aee3af6ce80c63e534fc26d7ee611d4ca50d.tar.zst
nixlib-5ed1aee3af6ce80c63e534fc26d7ee611d4ca50d.zip
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>
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/top-level/python-packages.nix9
1 files changed, 3 insertions, 6 deletions
diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix
index e5d2cc303d6b..da2c6ac366e9 100644
--- a/pkgs/top-level/python-packages.nix
+++ b/pkgs/top-level/python-packages.nix
@@ -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