runrig has asked for the wisdom of the Perl Monks concerning the following question:
When you put a module on CPAN, it searches your distribution
for any "*.pm" files and they are displayed when you search
for any module in your distribution. What if you have a module in the distribution which is only used in the test
suite (the 'make test'), and you'd rather not have them
show up as actual modules for installation?
I'm opting for distributing the module with a ".pt" extension, then renaming it during the 'make test'. I'm wondering if there's a better way to do it, or just other options, if there's something I've missed from ExtUtils::MakeMaker or somewhere else... (The module is Parse::FixedLength if you're curious).
Update: This post is no longer relevant. CPAN no longer seems to list libraries in a sub-directory of the t directory.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Including a 'test only' module in distribution
by tachyon (Chancellor) on Sep 25, 2001 at 22:52 UTC | |
by runrig (Abbot) on Sep 25, 2001 at 23:38 UTC | |
by tachyon (Chancellor) on Sep 26, 2001 at 01:15 UTC | |
by Anonymous Monk on Sep 26, 2001 at 01:06 UTC | |
Re: Including a 'test only' module in distribution
by Zaxo (Archbishop) on Sep 26, 2001 at 17:27 UTC | |
by runrig (Abbot) on Sep 26, 2001 at 20:05 UTC |
Back to
Seekers of Perl Wisdom