Hi all. I'm considering a new feature of cpansmoke 0.06, which involves the
typical FAIL report, e.g. below:

    This is an error report generated automatically by CPANPLUS.
    Below is the error stack during 'make test':

    PERL_DL_NONLAZY=1 /usr/bin/perl ...blah
    t/00_load....ok
    t/01_stat....FAILED test 4
    Failed 1/10 tests, 90.00% okay
    Failed Test Stat Wstat Total Fail  Failed  List of Failed
    -------------------------------------------------------------------------------
    t/01_stat.t               10    1  10.00%  4
    Failed 1/2 test scripts, 50.00% okay. 1/13 subtests failed, 92.31% okay.
    make: *** [test_dynamic] Error 29

Quite often, the author writes back to inquire an exact run-down of the failed
test, include its additional output, error messages, and other helpful information
on what's failing and how.

In fact, it is possible to match /Failed Test.*\n-{10,}\n(?:([^\t]+)\t.*\n)+/, i.e.
extract all failed tests, and run them again separately, attaching the output to
the cpansmoke report.

Now, some polls:

1) Is such a feature worth implementing?
2) Should it be a switch of cpansmoke, or comes by default, or as an additional
   option in "Send test results [Y/n]?"?
3) Should we limit the size of report it generates?

Thoughts, ideas, criticisms welcome. :)

/Autrijus/

Attachment: msg34445/pgp00000.pgp
Description: PGP signature

Reply via email to