autrijus writes "We just released CPANPLUS 0.033, with lots of testing-oriented features. Also, my new write-up perl.com talks about Becoming a CPAN Tester with CPANPLUS, which explains how to set up a machine to automatically test modules as they're uploaded. Volunteers wanted!" Most excellent. Anything that aids in testing gets a thumbs up in my book.
So couple of advices for those who want to implement automatic unatended testing of all uploaded CPAN modules:
Re:Word of warning
autrijus on 2002-05-05T10:36:04
Thanks! This is very true. I should have mentioned that, although cpansmoke does not install anything to @INC, the Makefile.PL (and test scripts) open a wide door to trojan horses. Personally, I'd recommend to run this in a jail or a similiar environment.I'm pondering a 'makeuser' config variable, which specifies the UID during the extract, make and test steps; only the actualy 'pure_install' target will be performed under the root account.
Re:sudo make test
autrijus on 2002-05-07T01:38:42
This is true. However, please refer to the paragraph somewhere above that line:If any dependent modules were selected in the previous step, then you will have to run make test as root, so it can fetch and install these modules automatically before testing itself.
Since the error could not occur without attempting to install such modules, I had to use sudo to make the story consistent.
I agree that this is somewhat confusing, though; suggestions welcome.