perl: disable one more test

It worked for me, but fails on hydra (probably not very pure).
This commit is contained in:
Vladimír Čunát 2013-04-01 23:31:00 +02:00
parent e5c3614d52
commit 21cd5376b4

View File

@ -60,17 +60,21 @@ stdenv.mkDerivation rec {
setupHook = ./setup-hook.sh; setupHook = ./setup-hook.sh;
doCheck = true;
# some network-related tests don't work, mostly probably due to our sandboxing # 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 = '' postPatch = ''
for test in lib/Net/hostent.t dist/IO/t/{io_multihomed.t,io_sock.t} \ for test in ${testsToSkip}; do
t/porting/{maintainers.t,regen.t}
do
rm "$test" rm "$test"
pat=`echo "$test" | sed 's,/,\\\\/,g'` # just escape slashes pat=`echo "$test" | sed 's,/,\\\\/,g'` # just escape slashes
sed "/^$pat/d" -i MANIFEST sed "/^$pat/d" -i MANIFEST
done done
''; '';
doCheck = true;
passthru.libPrefix = "lib/perl5/site_perl"; passthru.libPrefix = "lib/perl5/site_perl";
} }