On Fri, Dec 12, 2008 at 2:18 AM, Eric Wilhelm <[email protected]>wrote:
> The script is: http://scratchcomputing.com/tmp/mb.metacheck.pl > I run it as: > > mb.metacheck.pl /disks/primary/mirrors/cpan_mirror/ \ > /tmp/generated_by.module_build=Module::Build > I've generated a somewhat longer list based on my CPAN::Mini::Devel minicpan for tarballs with Build.PL. http://dagolden.com/files/have_MB.list > > Do you have any documentation about your test process? > It's more or less like this: Set up a working CPAN::Reporter::Smoker (with the latest CPAN::Reporter and Test::Reporter) -- instructions for this are beyond the scope of this email. RTFM Install M::B 0.30 Ensure that CPAN is configured to prefer MB. cpan> o conf init /prefer/ Edit .cpanreporter/config and add the following line (replacing any other Transport line) transport=File /path/to/dir/for/mb-test/0.30 Create the directory listed above Run the smoker against the list of distribution names. I use this script: # start-smoker.pl use strict; use warnings; use CPAN::Reporter::Smoker; start( status_file => "now-smoking.txt", list => shift ); I call it like this: $ start-smoker.pl generated_by.module_build.list When that's done, disable reporting in CPAN: cpan> o conf test_report 0 cpan> o conf commit Install M::B 0.30_01 Enable reporting in CPAN: cpan> o conf test_report 1 cpan> o conf commit Edit .cpanreporter/config and change the transport directory to a new one: transport=File /path/to/dir/for/mb-test/0.30_01 Create the directory listed above. Re-run the smoker against the same list: $ start-smoker.pl generated_by.module_build.list Afterwards, compare the files created in each directory. This requires some parsing of filenames and is left as an exercise for the reader (since my original script for it has been lost). -- David
