3
0
Fork 0
forked from mirrors/nixpkgs

perl: enable doCheck, almost all tests work for me

This commit is contained in:
Vladimír Čunát 2013-03-29 01:36:00 +01:00
parent 73b0fa8720
commit ff92538aec

View file

@ -60,5 +60,17 @@ stdenv.mkDerivation rec {
setupHook = ./setup-hook.sh;
# some network-related tests don't work, mostly probably due to our sandboxing
postPatch = ''
for test in lib/Net/hostent.t dist/IO/t/{io_multihomed.t,io_sock.t} \
t/porting/{maintainers.t,regen.t}
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";
}