Skip Menu |

This queue is for tickets about the Algorithm-Evolutionary CPAN distribution.

Report information
The Basics
Id: 65189
Status: resolved
Worked: 1.5 hours (90 min)
Priority: 0/
Queue: Algorithm-Evolutionary

People
Owner: Nobody in particular
Requestors: jquelin [...] cpan.org
Cc:
AdminCc:

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



Subject: some test failures
$ /usr/bin/perl Makefile.PL INSTALLDIRS=vendor Checking if your kit is complete... Looks good Writing Makefile for Algorithm::Evolutionary $ make [...] $ make test PERL_DL_NONLAZY=1 /usr/bin/perl5.12.2 "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Testing Algorithm::Evolutionary 0.73, Perl 5.012002, /usr/bin/perl5.12.2 t/00-load.t ................ ok t/0001-wheel.t ............. ok t/0100-bitvector.t ......... ok t/0101-string.t ............ ok t/0102-any.t ............... ok t/0200-run-cga.t ........... ok t/0200-run-cga_nn.t ........ ok t/0200-run-ga.t ............ ok t/0300-ppeaks.t ............ ok t/0301-wppeaks.t ........... ok t/0302-knapsack.t .......... ok t/0303-onemax.t ............ ok t/0304-royalroad.t ......... ok t/0304-trap.t .............. ok t/0305-ecc.t ............... ok t/0306-any.t ............... ok t/0307-zdt1.t .............. ok t/0333-mmdp.t .............. ok t/0400-noveltym.t .......... ok t/0401-genebx.t ............ ok # Failed test 'Testing bitflip' # at t/0402-bitflip.t line 26. # got: '001000001110010111101101101001101000' # expected: anything else # Failed test 'Testing bitflip again' # at t/0402-bitflip.t line 27. # got: '001010001110010111101101101001101000' # expected: anything else # Failed test '5 bitflips' # at t/0402-bitflip.t line 30. # got: '0' # expected: '5' # Looks like you failed 3 tests of 5. t/0402-bitflip.t ........... Dubious, test returned 3 (wstat 768, 0x300) Failed 3/5 subtests t/0403-uxover.t ............ ok t/0404-quadxover.t ......... ok t/0404-string-mutation.t ... ok # Failed test 'Results OK' # at t/0444-stored.t line 35. # got: '' # expected: '1' # Looks like you failed 1 test of 2. t/0444-stored.t ............ Dubious, test returned 1 (wstat 256, 0x100) Failed 1/2 subtests t/0500-generation-skel.t ... ok t/0500-replace.t ........... ok t/0501-convergence-term.t .. ok t/0501-eval-general.t ...... ok t/0502-pop_printer.t ....... ok t/0503-eval-mo.t ........... ok t/0600-ez-moga.t ........... ok t/0601-cga-gif-output.t .... ok t/0603-eda.t ............... ok t/DeltaTerm.t .............. ok t/experiment.t ............. ok # Test 16 got: "" (t/general.t at line 101) # Expected: "1" # t/general.t line 101 is: ok( $bs->{_str} ne $bf->apply($bs)->{_str}, 1); t/general.t ................ Failed 1/49 subtests (less 3 skipped subtests: 45 okay) t/GenerationalTerm.t ....... ok t/individuals.t ............ ok t/NoChangeTerm.t ........... ok t/ops.t .................... ok t/pod-coverage.t ........... skipped: Test::Pod::Coverage 1.08 required for testing POD coverage t/pod.t .................... ok t/run.t .................... ok t/validate.t ............... ok Test Summary Report ------------------- t/0402-bitflip.t (Wstat: 768 Tests: 5 Failed: 3) Failed tests: 3-5 Non-zero exit status: 3 t/0444-stored.t (Wstat: 256 Tests: 2 Failed: 1) Failed test: 2 Non-zero exit status: 1 t/general.t (Wstat: 0 Tests: 49 Failed: 1) Failed test: 16 Files=45, Tests=1402, 7 wallclock secs ( 0.23 usr 0.10 sys + 5.96 cusr 0.54 csys = 6.83 CPU) Result: FAIL Failed 3/45 test programs. 5/1402 subtests failed. make: *** [test_dynamic] Error 255
Thanks for the report, but the version you're downloading is a bit old; can you please check if you have the same problem with the latest version? Cheers JJ

Message body is not shown because it is too large.

Thanks for the report. I'll try to reproduce it and fix it if possible. The only difference between your environment and mine is the Perl version (5.10.1 for me, in Ubuntu). Cheers JJ
Solver in just-released 0.76 by changing Clone::Fast to Clone. Thanks for the reports. JJ