Skip Menu |

Preferred bug tracker

Please visit the preferred bug tracker to report your issue.

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

Report information
The Basics
Id: 17172
Status: resolved
Priority: 0/
Queue: Test-Simple

People
Owner: Nobody in particular
Requestors: rfjw70 [...] yahoo.com
Cc:
AdminCc:

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



Subject: #17053 - make test error
19JAN2006 - CPAN #17053 Wondering if this error is related to "#17053 - make test error": My platform is UNIX (AIX). Perl ver = 5.6.1. My apologies if this is a waste of your time. Best regards, Bob Johnson - rfjw70@yahoo.com ---------------------------------------------------------- Checking if your kit is complete... Looks good 'LICENSE' is not a known MakeMaker parameter name. Writing Makefile for Test::Simple 25623 Test-Simple-0.62> make cp lib/Test/Tutorial.pod blib/lib/Test/Tutorial.pod cp lib/Test/Builder/Module.pm blib/lib/Test/Builder/Module.pm cp lib/Test/Builder.pm blib/lib/Test/Builder.pm cp lib/Test/Simple.pm blib/lib/Test/Simple.pm cp lib/Test/Builder/Tester.pm blib/lib/Test/Builder/Tester.pm cp lib/Test/Builder/Tester/Color.pm blib/lib/Test/Builder/Tester/Color.pm cp lib/Test/More.pm blib/lib/Test/More.pm Manifying blib/man3/Test::Tutorial.3 Manifying blib/man3/Test::Builder::Module.3 Manifying blib/man3/Test::Builder.3 Manifying blib/man3/Test::Simple.3 Manifying blib/man3/Test::Builder::Tester.3 Manifying blib/man3/Test::Builder::Tester::Color.3 Manifying blib/man3/Test::More.3 Target "makemakerdflt" is up to date. 25624 Test-Simple-0.62> make test PERL_DL_NONLAZY=1 /usr/local/contrib/perl-5.6.1/bin/perl - Iblib/arch -Iblib/lib -e 'use Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t t/00signature.............skipped all skipped: SIGNATURE not found t/00test_harness_check....ok t/Builder.................ok t/More....................ok t/bad_plan................ok t/bail_out................ok t/buffer..................ok t/circular_data...........ok t/create..................ok t/curr_test...............ok t/details.................ok t/diag....................ok t/eq_set..................ok t/exit....................ok t/extra...................ok t/extra_one...............ok t/fail-like...............ok t/fail-more...............ok 1/17# Failed test in t/fail-more.t at line 72. t/fail-more...............NOK 9# got: '# Failed test 'cmp_ok eq' # # in t/fail-more.t at line 68. # # got: 'foo' # # expected: 'bar' # # Failed test ' ==' # # in t/fail-more.t at line 69. # # got: 42.100000000000001 # # expected: 23 # # Failed test ' !=' # # in t/fail-more.t at line 70. # # '42' # # != # # '42' # # Failed test ' &&' # # in t/fail-more.t at line 71. # # '1' # # && # # '0' # ' # expected: '# Failed test 'cmp_ok eq' # # in t/fail-more.t at line 68. # # got: 'foo' # # expected: 'bar' # # Failed test ' ==' # # in t/fail-more.t at line 69. # # got: 42.1 # # expected: 23 # # Failed test ' !=' # # in t/fail-more.t at line 70. # # '42' # # != # # '42' # # Failed test ' &&' # # in t/fail-more.t at line 71. # # '1' # # && # # '0' # ' t/fail-more...............FAILED test 9 Failed 1/17 tests, 94.12% okay t/fail....................ok t/fail_one................ok t/filehandles.............ok t/fork....................ok t/harness_active..........ok t/has_plan................ok t/has_plan2...............ok t/import..................ok t/is_deeply_fail..........ok t/is_fh...................ok t/maybe_regex.............ok t/missing.................ok t/no_diag.................ok t/no_ending...............ok t/no_header...............ok t/no_plan.................ok t/ok_obj..................ok t/output..................ok t/overload................ok t/overload_threads........ok 1/5 skipped: not really skipped, testing overloaded reason t/plan....................ok t/plan_bad................ok t/plan_is_noplan..........ok t/plan_no_plan............ok 1/6 skipped: Just testing skip with no_plan t/plan_shouldnt_import....ok t/plan_skip_all...........skipped all skipped: Just testing plan & skip_all t/require_ok..............ok t/reset...................ok t/simple..................ok t/skip....................ok 7/15 skipped: Just testing the skip interface. t/skipall.................ok t/sort_bug................skipped all skipped: no threads t/tbt_01basic.............ok t/tbt_02fhrestore.........ok t/tbt_03die...............ok t/tbt_04line_num..........ok t/tbt_05faildiag..........ok t/tbt_06errormess.........ok t/tbt_07args..............ok t/thread_taint............ok t/threads.................skipped all skipped: no threads t/todo....................ok t/undef...................ok t/use_ok..................ok t/useing..................ok Failed Test Stat Wstat Total Fail Failed List of Failed ----------------------------------------------------------------------- -------- t/fail-more.t 17 1 5.88% 9 4 tests and 9 subtests skipped. Failed 1/63 test scripts, 98.41% okay. 1/479 subtests failed, 99.79% okay. make: 1254-004 The error code from the last command is 11. Stop.
On Thu Jan 19 14:01:35 2006, guest wrote: Show quoted text
> 19JAN2006 - CPAN #17053 > > Wondering if this error is related to "#17053 - make test error": > My platform is UNIX (AIX). Perl ver = 5.6.1. > > My apologies if this is a waste of your time.
No, I appreciate all reports. I'd rather get a few bogus reports then have someone not report a real one. Also, sorry for taking so long to respond. I'm cleaning out my bug queue. And no, it's not related to 17053. Show quoted text
> t/fail-more...............ok 1/17# Failed test in t/fail-more.t at > line 72. > t/fail-more...............NOK 9# got: '# Failed > test 'cmp_ok eq' > # # in t/fail-more.t at line 68. > # # got: 'foo' > # # expected: 'bar' > # # Failed test ' ==' > # # in t/fail-more.t at line 69. > # # got: 42.100000000000001 > # # expected: 23
The problem is there's some floating point error there. This is just 42.1 with no mathematical operations done on it. There should have been no error. It's not a problem specific to Test::More but rather with your perl. Probably a glitch in your system's math libraries. Sorry I can't diagnose it any further from here. I'm closing this bug. Feel free to reply to reopen.