cpansmoke - CPAN Smoke Tester
cpansmoke [ -acdfilpuv ] [ -t timeout ] packages...
This script uses CPANPLUS to test one or more distributions from CPAN. It accepts full or partial distribution names (e.g. CPANPLUS-0.01 and K/KA/KANE/CPANPLUS-0.01.tar.gz), or module names (e.g. CPANPLUS::Backend), in which case the latest distribution containing the module is tested.
CPANPLUS-0.01
K/KA/KANE/CPANPLUS-0.01.tar.gz
CPANPLUS::Backend
-a Automatically send reports without prompting or editing -c Always Cc: to the module author (only on FAIL by default) -d Display each package's existing result before testing it -f Force re-fetching cached packages and checksum data -i Don't cc FAIL reports to author if two or more FAILs were reported -l Use user-configured hosts; www.cpan.org is preferred by default -p Fetch, make and test (but not install) prerequisite modules -s Skip modules that have testing results from the same settings -u Skip modules that have more than one testing results as UNKNOWN -v Print verbose proceeding informations -t Sets timeout for each package's install; defaults to 300
If the -a option is set, only failures during make test are reported, to prevent bogus reports caused by insufficient non-perl requisites.
make test
For automatic testing, cpansmoke -aipsu is preferred. Subscriber of the cpan-testers@perl.org list may use this Mail::Audit recipe to enable unattended smoke testing:
cpansmoke -aipsu
cpan-testers@perl.org
fork || system("cpansmoke -aps $1 >/dev/null 2>&1") if $mail->subject =~ /^CPAN Upload: (.*)$/;
Users of procmail should add this line to .procmailrc:
procmail
.procmailrc
:0hc * ^Subject: CPAN Upload: |sh -c "grep Subject|cut -f4 -d' '|xargs cpansmoke -aps >/dev/null 2>&1"
Please consult CPANPLUS::TesterGuide for additional information.
CPANPLUS, CPANPLUS::TesterGuide, cpantest
Autrijus Tang <autrijus@autrijus.org>
Copyright 2001, 2002 by Autrijus Tang <autrijus@autrijus.org>.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
See http://www.perl.com/perl/misc/Artistic.html
To install CPANPLUS, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPANPLUS
CPAN shell
perl -MCPAN -e shell install CPANPLUS
For more information on module installation, please visit the detailed CPAN module installation guide.