From 5ed1aee3af6ce80c63e534fc26d7ee611d4ca50d Mon Sep 17 00:00:00 2001 From: aszlig Date: Tue, 20 Dec 2016 18:54:52 +0100 Subject: [PATCH] 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 --- pkgs/top-level/python-packages.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index e5d2cc303d6..da2c6ac366e 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