Disable perl 5.16 tests

They are on the path to stdenv rebuild.

Accidentally re-enabled by conflict resolution in cherry-pick 3196d4f.
This commit is contained in:
Gergely Risko 2014-09-14 22:34:51 +02:00
parent e766f0b0d0
commit 3a2134d46f

View File

@ -85,31 +85,5 @@ stdenv.mkDerivation rec {
setupHook = ./setup-hook.sh; setupHook = ./setup-hook.sh;
doCheck = !stdenv.isDarwin;
# some network-related tests don't work, mostly probably due to our sandboxing
# man-heading.t is skipped due to output determinism (no dates)
testsToSkip = ''
lib/Net/hostent.t \
dist/IO/t/{io_multihomed.t,io_sock.t} \
dist/Net-Ping/t/*.t \
cpan/autodie/t/truncate.t \
t/porting/{maintainers.t,regen.t} \
cpan/Socket/t/get{name,addr}info.t \
cpan/podlators/t/man-heading.t \
'' + optionalString stdenv.isFreeBSD ''
cpan/CPANPLUS/t/04_CPANPLUS-Module.t \
cpan/CPANPLUS/t/20_CPANPLUS-Dist-MM.t \
'' + " ";
postPatch = optionalString (!stdenv.isDarwin) /* this failed on Darwin, no idea why */ ''
for test in ${testsToSkip}; do
echo "Removing test" $test
rm "$test"
pat=`echo "$test" | sed 's,/,\\\\/,g'` # just escape slashes
sed "/^$pat/d" -i MANIFEST
done
'';
passthru.libPrefix = "lib/perl5/site_perl"; passthru.libPrefix = "lib/perl5/site_perl";
} }