Slash Boxes
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

use Perl Log In

Log In

[ Create a new account ]

Saturday September 04, 2004
05:56 PM

My daily build report

[ #20731 ]

I now am about half way to finishing something to give me a daily build report on all of Perl projects. I run the script and get output like this excerpt

/Users/brian/Dev/Apache/HelloWorld ... Found no test files! Skipping.
/Users/brian/Dev/Apache/iTunes ... Prerequisites not found! Skipping.
/Users/brian/Dev/Business/ISBN ... No tests failed
/Users/brian/Dev/HTTP/Cookies/Safari ... 7/7 ( 100.0% ) failed
/Users/brian/Dev/MacOSX/iTunes ... Could not even run tests.
/Users/brian/Dev/Netscape/Bookmarks/Alias ... Found no test files! Skipping.

It still has a couple of problems. The "Found no tests" really means the script didn't look very hard, and I want to add a summary report at the end for super-project stats (like, how many tests in all projects failed?).

It also has verbose output

/Users/brian/Dev/Apache/HelloWorld ...
    Found no test files! Skipping.
/Users/brian/Dev/Apache/iTunes ...
    Prerequisites not found! Skipping.
/Users/brian/Dev/HTTP/Cookies/Omniweb ...
    Found tests ==> t/compile.t t/pod.t t/prereq.t t/load.t t/save.t
    Testing ==>
    No tests failed
/Users/brian/Dev/HTTP/Cookies/Safari ...
    Found tests ==> t/compile.t t/load.t t/save.t
    Testing ==>
    7/7 ( 100.0% ) failed
        t/save.t             failed 2/2 ( 200% )
        t/load.t             failed 5/5 ( 200% )
/Users/brian/Dev/weblint++ ...
    Prerequisites not found! Skipping.
/Users/brian/Dev/YAPJ/database/TPR ...
    Prerequisites not found! Skipping.
Missing modules

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
More | Login | Reply
Loading... please wait.