Re: Problem with perl code - coverage during build

2005-11-22 Thread Sébastien Aperghis-Tramoni
rl.gcov target: ./Configure -Dusedevel -Doptimize='-O0 -g' \ -Accflags='-fprofile-arcs -ftest-coverage' \ -Aldflags='-fprofile-arcs -ftest-coverage' make perl.gcov Then, using Devel::Cover tools, you can generate something like this: http://www.maddingue.net/perlcover/ -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.

Re: how to detect that we're running under CPAN::Testers?

2006-01-11 Thread Sébastien Aperghis-Tramoni
age for more details: http://search.cpan.org/dist/CPAN-YACSmoke/lib/CPAN/YACSmoke/FAQ.pod -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.

Re: how to detect that we're running under CPAN::Testers?

2006-01-11 Thread Sébastien Aperghis-Tramoni
Tyler MacDonald wrote: > Sébastien Aperghis-Tramoni <[EMAIL PROTECTED]> wrote: > > For CPAN smokers based on CPAN::YACSmoke, the answer is: test the > > presence of the AUTOMATED_TESTING environment variable. See also > > the following page for more details: > >

Re: Kwalitee in your dependencies (was CPAN Upload: etc etc)

2006-01-28 Thread Sébastien Aperghis-Tramoni
n't that hard since it now somehow works). But I currently see now simple way to allow for automated build under Windows, because of manual interaction it requires. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.

Re: Binary distributions

2006-01-28 Thread Sébastien Aperghis-Tramoni
with CPANPLUS::Dist::Deb? http://search.cpan.org/dist/CPANPLUS-Dist-Deb/ Believing its documentation, it should build a valid Debian package and take care of its dependencies (dunno if that means just listing or actually adding them in the package). -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.

Re: Kwalitee in your dependencies (was CPAN Upload: etc etc)

2006-01-28 Thread Sébastien Aperghis-Tramoni
nown distribution did not include tests CPANPLUS only sends FAIL for the module that failed, not for the module which depended upon the module that failed. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.

Re: Kwalitee in your dependencies (was CPAN Upload: etc etc)

2006-01-28 Thread Sébastien Aperghis-Tramoni
and Module::Install is not compatible with that version. The COOKBOOK section is fine for pure Perl modules, but in the case of XS modules that interface to a library with a varying API, it's of no use. Take a look at Net::Pcap's Makefile.PL -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.

Re: Kwalitee in your dependencies (was CPAN Upload: etc etc)

2006-01-29 Thread Sébastien Aperghis-Tramoni
o-do as well, so I'll deal with it later on. Yes, but I need Net::Pcap to work on 5.004 now, and as the code itself (and its test suite) works on 5.004, it would be very uninteresting for me to use something that require a higher version of Perl. Then there's the fact that I'm still

Re: bug with Test::Exception? or imacat's autotest box?

2006-01-31 Thread Sébastien Aperghis-Tramoni
ot; in Chinese or Taiwanese. The best thing is to ask IMACAT to send you a more detailed report. Sébastien Aperghis-Tramoni -- - --- -- - -- - --- -- - --- -- - --[ http://maddingue.org ] Close the world, txEn eht nepO

Re: Default tests, beta testing, etc.

2006-02-05 Thread Sébastien Aperghis-Tramoni
ressed several times why he mostly couldn't add new feature in ExtUtils::MakeMaker: because all the Makefile.PL that currently exist must continue to work with any new version of EU::MM, and unfortunately, many use it in strange and twisted way that could easil

Re: Request for Comments: Package testing results analysis, result codes

2006-02-19 Thread Sébastien Aperghis-Tramoni
te parts of its test suite and the author put some effort to skip all the tests that can't be run because the user running the installation doesn't have the required rights (I'm thinking very loud about Net::Pcap if you haven't guessed :

Re: Request for Comments: Package testing results analysis, result codes

2006-02-20 Thread Sébastien Aperghis-Tramoni
ross others during testing. > > Also note that the name alone does not signify it will not work on other > platforms. There are some Linix:: distros that work on Windows. Same with some Mac:: and Win32:: modules that perfectly work on other platforms because they're pure Perl modules. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.

Re: Module requirements (was: Module::Build and installing in non-standardlocations)

2006-04-02 Thread Sébastien Aperghis-Tramoni
versions. With these patches (and if the test suites of some of these are fixed), several modules can probably work on 5.004 or earlier with little to no changes. Sébastien Aperghis-Tramoni -- - --- -- - -- - --- -- - --- -- - --[ http://maddingue.org ] Close the world, txEn eht nepO

Re: Where did I see this use of plan()?

2006-04-03 Thread Sébastien Aperghis-Tramoni
. BEGIN { $tests += XX } # bloc of tests # ... Sébastien Aperghis-Tramoni -- - --- -- - -- - --- -- - --- -- - --[ http://maddingue.org ] Close the world, txEn eht nepO

Re: Module requirements (was: Module::Build and installing in non-standardlocations)

2006-04-03 Thread Sébastien Aperghis-Tramoni
the modules on said systems, just to put the modules I need in a directory and "use lib /that/directory". Of course I need to use modules that work with 5.004, or patch them so they work with 5.004, but you could be surprised to see how little some of the patches are. Can be as

Re: Module requirements (was: Module::Build and installing in non-standardlocations)

2006-04-04 Thread Sébastien Aperghis-Tramoni
demerphq wrote: > On 4/4/06, Sébastien Aperghis-Tramoni <[EMAIL PROTECTED]> wrote: > > (*) Yes, I know that the core Perl distribution includes many modules, > > but ask any P5Porter and he'll answer you that the core is over-crowed > > and that all core modules t

Re: what slow could be in Compress::Zlib? (was RE: 5.004_xx in the wild?)

2005-07-04 Thread Sébastien Aperghis-Tramoni
h such a number, it is not indexed by PAUSE, and therefore can't be installed from CPAN/CPANPLUS Sébastien Aperghis-Tramoni -- - --- -- - -- - --- -- - --- -- - --[ http://maddingue.org ] Close the world, txEn eht nepO

Re: Need to talk to an EU patent attorney

2005-07-12 Thread Sébastien Aperghis-Tramoni
s that the currently 30,000 patents granted by EPO are not legal, hence not enforceable. Of course, IANAL, but that's what MEP and people who actually reading the texts say. Sébastien Aperghis-Tramoni -- - --- -- - -- - --- -- - --- -- - --[ http://maddingue.org ] Close the world, txEn eht nepO

Test::Exception and XS code

2005-08-15 Thread Sébastien Aperghis-Tramoni
arens form of dies_ok() resolves the syntax error but then the test always successes. Am I doing something wrong? Sébastien Aperghis-Tramoni -- - --- -- - -- - --- -- - --- -- - --[ http://maddingue.org ] Close the world, txEn eht nepO

Re: Test::Exception and XS code

2005-08-15 Thread Sébastien Aperghis-Tramoni
Sébastien Aperghis-Tramoni wrote: While rewriting Net::Pcap test suite, I quickly stumbled upon this problem: it looks like Test::Exception can't catch croak() or die() thrown from XS code. [...] Ok, I corrected a mistake (I was using dies_ok() instead of throws_ok()), and reduce

Re: Test::Exception and XS code

2005-08-15 Thread Sébastien Aperghis-Tramoni
) }->throws_ok('/^Usage: Net::Pcap::lookupdev(err)/', 'calling lookupdev() with no argument'); -e syntax OK which is perfectly valid perl, but unlikely to do what you want. Understood. Thanks for the explanation. Sébastien Aperghis-Tramoni -- - --- -- - -- - --- -- - --- -- - --[ http://maddingue.org ] Close the world, txEn eht nepO

Re: Adding more kwalitee tests

2005-09-05 Thread Sébastien Aperghis-Tramoni
s created with h2xs since Perl 5.8 all contain a prereq using the version of the local Perl. Hence a good number of recents uploads on the CPAN with "use 5.008007" while the code perfectly works under any 5.8.x -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.

Re: Testing module madness

2005-09-11 Thread Sébastien Aperghis-Tramoni
rumble shortly and fetch them. Hey! Don't blame me on that! At least I listed the dependencies. There are still many modules that even don't list the test modules they are using. I think I have already changed them from required to recommanded for the next, unreleased version, and skip gracefully if they're not present. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.

Re: Testing module madness

2005-09-11 Thread Sébastien Aperghis-Tramoni
recommands in Module::Build. This was discussed at some time but I don't remember whether they were added or not. This doesn't solve the problem when you're using Makefile.PL but it can give you hints. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.

Re: New kwalitee test, has_changes

2005-09-21 Thread Sébastien Aperghis-Tramoni
h. A quick test shows that the Storable files used by Devel::Cover seem to compress quite well with gzip, so an option may be to just send it this way. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.

Re: Test::Kwalitee - Where is it hosted?

2005-10-04 Thread Sébastien Aperghis-Tramoni
ral aspects also tested by CPANTS kwalitee metrics. http://search.cpan.org/dist/Test-Distribution/ -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.

Re: First (developers) Release of Test::Shlomif::Harness

2005-10-11 Thread Sébastien Aperghis-Tramoni
/dist/Test-TAP-HTMLMatrix/ Or he could even build his own thing around Test::TAP::Model. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.

Re: Phalanx update please!

2004-12-26 Thread Sébastien Aperghis-Tramoni
derived from a list of Module: Dependency1, Dependency 2, etc... I'll add more information to the dependency list once I have sorted out all the distributions that prevent any automated running of these scripts. Sébastien Aperghis-Tramoni -- - --- -- - -- - --- -- - --- -- - --[ http://maddingue.org ] Close the world, txEn eht nepO

Re: Phalanx update please!

2004-12-28 Thread Sébastien Aperghis-Tramoni
Selon Sébastien Aperghis-Tramoni <[EMAIL PROTECTED]>: > Hello, > > Here are the final lists of the modules dependencies. This time I grouped > the modules by their respective distribution name. I forgot to say that these lists were made by reading the META.yml when availa

Re: Foreign modules in test scripts?

2005-02-21 Thread Sébastien Aperghis-Tramoni
nyway. Current version of CPANPLUS (0.053) suggests by default to use Build.PL over Makefile.PL. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.

Re: CPAN modules coverage (was: Test::Output 0.05)

2005-03-06 Thread Sébastien Aperghis-Tramoni
o CPANPLUS so that it run Devel::Cover on any module that it has to install and include the coverage information in the test report. Sébastien Aperghis-Tramoni -- - --- -- - -- - --- -- - --- -- - --[ http://maddingue.org ] Close the world, txEn eht nepO

Re: CPAN modules coverage (was: Test::Output 0.05)

2005-03-07 Thread Sébastien Aperghis-Tramoni
ith thread problems, but from reading the Perl documentation, I always had the feeling that Perl thread support has never been considered very stable. This is to say: ok, maybe Devel::Cover don't deal very well with threads, but if there's so few modules on the CPAN that use threads, maybe it can be considered as a low priority issue. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.

Re: [RFC] Test::CPANTS

2005-03-14 Thread Sébastien Aperghis-Tramoni
o take a crack at it it anyone thinks it will be of some use. I don't know if that answer your needs but Test::Distribution already performs several kwalitee tests on the modules and other files of a distribution. http://search.cpan.org/dist/Test-Distri

Re: [RFC] Test::CPANTS

2005-03-14 Thread Sébastien Aperghis-Tramoni
l those cases though. versions Checks that all packages define $VERSION strings. Onlt the main module package has a version; not all of the other packages. Maybe that's a bad thing? That's a quite classic troll starter I think :-) Sébastien Aperghis-Tramoni -- - --- -- - -- - --- -- - -

Re: Phalanx

2005-03-31 Thread Sébastien Aperghis-Tramoni
te that test.pl actually calls scripts in the examples/ directory by running them throught backticks: $res = `$perl examples/passwd-cb.pl $key_pem.e secret`; So the code is already splitted, but in a quite twisted way :-/ -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.

Re: Kwalitee and has_test_*

2005-04-01 Thread Sébastien Aperghis-Tramoni
tion based on the number of times it appears as a prerequisite of another distribution (taking into account the depth of the dependency). As a result you also have for each distribution the list of the distributions that depend upon it. [1] http://search.cpan.org/dist/CPAN-Dependency/ (eg/report.html

Re: How to force tests to issue "NA" reports?

2005-04-08 Thread Sébastien Aperghis-Tramoni
bility of p0f. If it's not present, just skip the tests that require it. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.