Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

This queue is for tickets about the Test-Reporter CPAN distribution.

Report information
The Basics
Id: 14375
Status: resolved
Priority: 0/
Queue: Test-Reporter

People
Owner: Nobody in particular
Requestors: m.v.rodriguez [...] ieee.org
Cc:
AdminCc:

Bug Information
Severity: Wishlist
Broken in: 1.27
Fixed in: (no value)



Subject: Reporting tests on non standard versions of perl
I sometimes test modules (mostly mines ;--) with various versions of perl, and I would like to report those tests. I have found no really easy way to do this though. I need either to change the report by hand, with the associated error risk, or to install Test::Reporter and its dependencies under all those versions of perl, which can be a (one-time) pain, as I don't have cpan or cpan plus configured for all of them. I think the best, and easiest to use, option would be to give the perl executable to report as an option on the command line: it is easy to use, accurate, and requires installing Test::Reporter and its dependencies only once. The version information can then be extracted by running something like: # $Perl is the perl executable (something like "perl-5.8.0" ) my $PERL_CONFIG= q{print "$_\n$Config{$_}" foreach (qw(archname version))}; my %Config= split /\n/, `$Perl -MConfig -l -e'$PERL_CONFIG'`; I can provide a patch if you like the idea (and if you give me an option name to use).
On Wed Aug 31 12:00:30 2005, MIROD wrote: Show quoted text
> I can provide a patch if you like the idea (and if you give me an > option name to use).
Michael, Hello. Your idea has merit, in that it would make it easier for individuals under your scenario to submit test reports. I'll take you up on your offer to provide a patch. For the option name, I'm thinking 'perl_version' may be a good choice. Thank you.
On Mon Sep 04 18:00:56 2006, FOX wrote: Show quoted text
> On Wed Aug 31 12:00:30 2005, MIROD wrote:
> > I can provide a patch if you like the idea (and if you give me an > > option name to use).
> > Hello. Your idea has merit, in that it would make it easier for > individuals under your scenario to submit test reports. > > I'll take you up on your offer to provide a patch. For the option name, > I'm thinking 'perl_version' may be a good choice.
OK, Should I work on the current version (1.27), should I wait for 1.28 or do you want to send me a snapshot of the current pre-1.28 version (or do you have an accessible CVS/SVN/SVK repository) ? __ mirod
On Tue Sep 05 11:37:32 2006, MIROD wrote: Show quoted text
> Should I work on the current version (1.27), should I wait for 1.28 or > do you want to send me a snapshot of the current pre-1.28 version (or do > you have an accessible CVS/SVN/SVK repository) ?
SVN: http://test-reporter.googlecode.com/svn/ There's a 1.28 branch that you can use to submit a current patch. - R.
Michael, Thank you for the changeset. It has been approved and will appear in 1.28, which will be released within the next few days.