Skip Menu |

This queue is for tickets about the Net-DNS CPAN distribution.

Report information
The Basics
Id: 21757
Status: resolved
Priority: 0/
Queue: Net-DNS

People
Owner: Nobody in particular
Requestors: adamk [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: (no value)



Subject: Tests fail unless the module is installed while connected to the internet
Net::DNS installs just fine if you do so while connected to the internet (for example installing from CPAN directly). However, if you try to install the module while you are offline (either from the tarball directly, or from a minicpan mirror etc) there are networking errors in the tests and the install fails. To fix, you probably need to skip a few tests if you find that you are not connected to the internet.
Subject: Re: [rt.cpan.org #21757] Tests fail unless the module is installed while connected to the internet
Date: Thu, 28 Sep 2006 13:17:33 +0200
To: bug-Net-DNS [...] rt.cpan.org
From: "Olaf M. Kolkman" <olaf [...] dacht.net>
Show quoted text
> To fix, you probably need to skip a few tests if you find that you are > not connected to the internet.
Makefile.PL contains the --online-tests flag. Just for this purpose. Use --noonline-tests for the negation. Does the following work for you? perl Makefile.PL --noonline-tests make make test ------------------------------------------------------ Ik dacht net... heel even maar.
Download PGP.sig
application/pgp-signature 227b

Message body not shown because it is not plain text.

Subject: Re: [rt.cpan.org #21757] Resolved: Tests fail unless the module is installed while connected to the internet
Date: Mon, 31 Dec 2007 11:35:34 +1100
To: bug-Net-DNS [...] rt.cpan.org
From: "Adam Kennedy" <adamkennedybackup [...] gmail.com>
Unfortunately, there is no opportunity to apply flags to the Makefile.PLwhen doing a recursive CPAN install. The installer should either auto-detect the existance of the internet, or it should default to NOT needing the internet, rather than needing it. On 29/12/2007, Olaf Kolkman via RT <bug-Net-DNS@rt.cpan.org> wrote: Show quoted text
> > <URL: http://rt.cpan.org/Ticket/Display.html?id=21757 > > > According to our records, your request has been resolved. If you have any > further questions or concerns, please respond to this message. >
As of revision 748 the following fix has been applied to the trunk. Fix rt.cpan.org #21757 and Feature: Connectivity during test Addition of --no-IPv6-tests and --IPv6-tests option in Makefile.PL. Note: This causes two questions to be asked when building the Makefile instead of one. Besides the test suites are constructed so that all the connectivity testing happen in 001-connectivity.t and inavailability of connectivity over a certain transport is signalled over files t/online.disabled and t/IPv6.disabled respectivly. Both files are removed by t/99-cleanup