From ef16799c9c54889d60774d4b811a95cdb6e821e7 Mon Sep 17 00:00:00 2001 From: Domen Kozar Date: Fri, 26 Jul 2013 11:03:25 +0200 Subject: [PATCH] pypy: try to fix remaining 4 tests --- pkgs/development/interpreters/pypy/2.0/default.nix | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/pypy/2.0/default.nix b/pkgs/development/interpreters/pypy/2.0/default.nix index 7522020582c..614d3fdb378 100644 --- a/pkgs/development/interpreters/pypy/2.0/default.nix +++ b/pkgs/development/interpreters/pypy/2.0/default.nix @@ -45,12 +45,15 @@ let --replace "libraries = ['curses']" "libraries = ['ncurses']" ''; - TERMINFO = "${ncurses}/share/terminfo/"; doCheck = true; checkPhase = '' - export HOME="$TMPDIR" - ./pypy-c ./pypy/test_all.py --pypy=./pypy-c --ignore lib-python/2.7/test/test_shutil.py lib-python + export TERMINFO = "${ncurses}/share/terminfo/"; + export TERM = "xterm"; + export HOME = "$TMPDIR" + # disable shutils because it assumes gid 0 exists + # disable socket because it has two actual network tests that fail + ./pypy-c ./pypy/test_all.py --pypy=./pypy-c --ignore lib-python/2.7/test/test_shutil.py --ignore lib-python/2.7/test_socket.py lib-python ''; installPhase = ''