diff options
author | Vladimír Čunát <vcunat@gmail.com> | 2013-04-01 23:31:00 +0200 |
---|---|---|
committer | Vladimír Čunát <vcunat@gmail.com> | 2013-04-01 23:31:00 +0200 |
commit | 21cd5376b4a351079c094cd5409bf981066801b5 (patch) | |
tree | 03ffab8d994026a9bdae9dd67089baa0e80d4c04 /pkgs/development/interpreters/perl | |
parent | e5c3614d52b882d348526722edf3770a8a709864 (diff) |
perl: disable one more test
It worked for me, but fails on hydra (probably not very pure).
Diffstat (limited to 'pkgs/development/interpreters/perl')
-rw-r--r-- | pkgs/development/interpreters/perl/5.16/default.nix | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/pkgs/development/interpreters/perl/5.16/default.nix b/pkgs/development/interpreters/perl/5.16/default.nix index c18dbc2b1f17c..8047413de3a41 100644 --- a/pkgs/development/interpreters/perl/5.16/default.nix +++ b/pkgs/development/interpreters/perl/5.16/default.nix @@ -60,17 +60,21 @@ stdenv.mkDerivation rec { setupHook = ./setup-hook.sh; + doCheck = true; # some network-related tests don't work, mostly probably due to our sandboxing + testsToSkip = '' + lib/Net/hostent.t \ + dist/IO/t/{io_multihomed.t,io_sock.t} \ + t/porting/{maintainers.t,regen.t} \ + cpan/Socket/t/getnameinfo.t + ''; postPatch = '' - for test in lib/Net/hostent.t dist/IO/t/{io_multihomed.t,io_sock.t} \ - t/porting/{maintainers.t,regen.t} - do + for test in ${testsToSkip}; do rm "$test" pat=`echo "$test" | sed 's,/,\\\\/,g'` # just escape slashes sed "/^$pat/d" -i MANIFEST done ''; - doCheck = true; passthru.libPrefix = "lib/perl5/site_perl"; } |