in reply to Re^8: Should I upload it on CPAN?
in thread Should I upload it on CPAN?
Exactly! If the module is already installed, so are the tests. Downloading them again is pointless.
The standard module installers (EUMM, MI, MB, etc) do not install the test suite as part of "make install" (or "./Build install"). CPAN.pm (though not CPANPLUS or cpanminus) can be configured to keep the entire source directory for a distribution which naturally includes the test suite, but it does not do so by default.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: Should I upload it on CPAN?
by BrowserUk (Patriarch) on Feb 25, 2012 at 16:40 UTC | |
The standard module installers (EUMM, MI, MB, etc) do not install the test suite You want all your tests 'installed'? If not, stop being facetious. CPAN.pm (though not CPANPLUS or cpanminus) can be configured to keep the entire source directory for a distribution which naturally includes the test suite, but it does not do so by default. Hm. I rarely use CPAN for installs, and I've certainly never configured it to do that, so I thought I take a look to see what it keeps around.
And there you have a record of every module I've ever installed via cpan. So let's take a quick look inside one of them:
All the tests sitting there just waiting. I've never used cpanplus (or minus), so let's try it out:C:\test>cpanp Read more... (73 kB)
Ignoring the "Successfully installed" message despite the reams of errors, let's see what we can find:
And there it is, tests and all. But this isn't about what your module does -- I have the choice not to download it -- it is about the way you've chosen to make it do it. With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
| [reply] [d/l] [select] |
by tobyink (Canon) on Feb 25, 2012 at 19:18 UTC | |
What you're seeing is the build cache. It's not kept indefinitely. CPAN.pm deletes stuff from it when it starts overflowing whatever size limit you've set for it. (Though I think it defaults to a fairly generous 100MB.) | [reply] |