Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Start smoking (Perl)

by kudra (Vicar)
on Sep 05, 2001 at 18:40 UTC ( [id://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 perl.org 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 smoke.sh 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?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (3)
As of 2024-03-19 07:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found