By the way
Can anyone spot the flaw in the test logic
$process->run;
ok( $process->IsAlive() );
Anyway, fixed in Wx::Perl::ProcessStream 0.30 uploaded to CPAN.
Changes are only to tests so not sure anyone needs to bump up dependencies.
Regards
Mark
On 04/02/2011 20:56, Mark Dootson wrote:
Hi,
I need to re-write the tests :-(
Anyhow, I am pretty sure you will be OK with a force install of
Wx::Perl::ProcessStream for now.
The tests fail because they check if processes are alive when there
should be no expectation that they will be.
Regards
Mark
On 04/02/2011 19:55, François Robert wrote:
I tried your suggestions and that worked ! Thanks a lot.
To be totally exact, I actually skipped all the steps up to (and
including) "make coffee" (make: *** No rule to make target `coffee'.
Stop. ;-))
The reason is that I already had the latest version of all those
packages installed, courtesy of the Padre installation pre-requisites.
So now, I have this new error on a separate dependency of Padre (not
sure if this is still your department, but the module bears your
name...) :
> sudo wxperl -MCPAN -eshell
cpan[1]> make Padre
...
Warning: prerequisite Pod::Simple 3.07 not found. We have 3.05.
Warning: prerequisite Wx::Perl::ProcessStream 0.29 not found.
Writing Makefile for Padre
---- Unsatisfied dependencies detected during ----
---- PLAVEN/Padre-0.80.tar.gz ----
Pod::Simple [requires]
Wx::Perl::ProcessStream [requires]
...
cpan[2]> test Wx::Perl::ProcessStream
Running test for module 'Wx::Perl::ProcessStream'
Running make for M/MD/MDOOTSON/Wx-Perl-ProcessStream-0.29.tar.gz
Has already been unwrapped into directory
/Users/rof/.cpan/build/Wx-Perl-ProcessStream-0.29-0YZf7z
Has already been made
Running make test
PERL_DL_NONLAZY=1
/Library/Perl/5.8.8/darwin-thread-multi-2level/auto/Wx/wxPerl.app/Contents/MacOS/wxPerl
"-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib',
'blib/arch')" t/*.t
t/00-load.t .... ok
t/01-events.t .. 2/78
# Failed test at t/01-events.t line 77.
# Failed test at t/01-events.t line 144.
t/01-events.t .. 63/78
# Failed test at t/01-events.t line 300.
t/01-events.t .. 72/78 # Looks like you failed 3 tests of 78.
t/01-events.t .. Dubious, test returned 3 (wstat 768, 0x300)
Failed 3/78 subtests
Test Summary Report
-------------------
t/01-events.t (Wstat: 768 Tests: 78 Failed: 3)
Failed tests: 7, 31, 71
Non-zero exit status: 3
Files=2, Tests=79, 10 wallclock secs ( 0.07 usr 0.02 sys + 3.26 cusr
0.91 csys = 4.26 CPU)
Result: FAIL
Failed 1/2 test programs. 3/79 subtests failed.
make: *** [test_dynamic] Error 3
MDOOTSON/Wx-Perl-ProcessStream-0.29.tar.gz
/usr/bin/make test -- NOT OK
//hint// to see the cpan-testers results for installing this module, try:
reports MDOOTSON/Wx-Perl-ProcessStream-0.29.tar.gz
Failed during this command:
MDOOTSON/Wx-Perl-ProcessStream-0.29.tar.gz : make_test NO
Any ideas ?
François