Beefy Boxes and Bandwidth Generously Provided by pair Networks
Just another Perl shrine

Start smoking (Perl)

by kudra (Vicar)
on Sep 05, 2001 at 18:40 UTC ( #110308=perlmeditation: print w/replies, xml ) Need Help??

Last night at the Amsterdam Perl Mongers meeting, H. Merijn Brand gave a talk on the Perl Core Smoke Test Suite. This is a set of scripts which tries to run perl core tests on many different configurations and prepare a report of the results. The purpose of smoke testing is to identify problems in order to fix them before release. The more people that test the more information there will be about different platforms, configurations, etc.

The test suite was released on CPAN today, where it can be found under author id H/HM/HMBRAND as Test-Smoke-1.06.tgz.

Subscribing to smokers at is a good way to keep informed of "upgrades, malformed reports, warnings, expectations," and so on.

It's pretty easy to start smoking. You will need to create an empty directory where the perl source tree will be placed. Any files in that directory which are not part of the source tree will be removed when you run the test, so it is very important not to mix things up! On my system I just created a new user for the purpose and created a test subdirectory.

You will need to put the three scripts which are used somewhere, then edit the configuration as needed. The readme file contains specific information.

The script will run the test. If you set up a cronjob to run this daily this shouldn't take any more effort on your part than setiathome.

The test will do the following:

  • refresh the perl source tree in the test directory using rsync;
  • for many different configurations (the current set of testing configurations are limited by CPU power--Nicholas Clark has done 8x the number of the default):
    • configure,
    • make,
    • make test-prep, and
    • make test; and
  • mail the results to smokers reports.

To run the tests you will need sufficient disk space to hold the perl source tree, a link fast enough to get source updates, and a computer that can handle lots of compiling. Also, you currently cannot use this test suite with windows, although that is being worked on.

Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: perlmeditation [id://110308]
Approved by root
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2020-06-04 15:40 GMT
Find Nodes?
    Voting Booth?
    Do you really want to know if there is extraterrestrial life?

    Results (34 votes). Check out past polls.