Closed p5pRT closed 20 years ago
Nearly all tests pass; only 4 tests (in 3 scripts) failed.
One of the tests was the old suspect t/comp/require.t\, due to bad floating-point rounding.
The ExtUtils::Constant is a bit more difficult to diagnose; fortunately\, the test script includes hard-code test case numbers\, making the failed test 8 easy to pin down... but all it does is test whether $farthing == 0.25. The constant FARTHING is defined as "#define FARTHING 0.25". My first guess was floating-point inaccuracy\, but somehow I doubt this for a power of two such as one-quarter.
Finally\, the Time::HiRes failure seems to employ weird arithmetic... the test output is
[...] not ok 20 # 1.51319098472595 went by while sleeping 1.5\, ratio 1.33333333333333. ok 21 # 1.5176819562912 went by while sleeping 1.5\, ratio 1.011516. [...]
So the second has a slightly higher number (1.517... > 1.513...) but the ratio is a lot closer to 1.
Ah\, hang on... the first is the output of sleep()\, the second of usleep(). The first output looks as if sleep() had returned 2 instead of 1.5... since 1.333*1.5 = 2. Not sure who's to blame here\, though.
Here is some test output:
Failed Test Stat Wstat Total Fail Failed List of Failed ---------------------------------------------------------------------------- ------------------------------------------------------- .../ext/Time/HiRes/HiRes.t 25 1 4.00% 20 .../lib/ExtUtils/t/Constant.t 51 1 1.96% 8 comp/require.t 23 2 8.70% 10-11 48 tests and 418 subtests skipped. Failed 3/708 test scripts\, 99.58% okay. 4/64572 subtests failed\, 99.99% okay.
DAB@idndb@pne /tk/users/pne/tmp/install/perl-5.8.0-RC2 > : ./perl -Ilib t/comp/require.t 1..23 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 # Perl v10.199.999 required--this is only v5.8.0\, stopped at t/comp/require.t line 77.
not ok 10 # Perl v10.0.19 required--this is only v5.8.0\, stopped at t/comp/require.t line 82.
not ok 11 ok 12 ok 13 ok 14 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 DAB@idndb@pne /tk/users/pne/tmp/install/perl-5.8.0-RC2 > : ./perl -Ilib ext/Time/HiRes/HiRes.t 1..25 ok 1 ok 2 ok 3 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 ok 13 ok 14 # s = 96.8270351886749\, n = 100\, s/n = 0.968270351886749 # time...1024924570.98317 ok 15 # sleep...0.504911 ok 16 # Tick! 4 0.30818 # Select returned! 4 0.310707 # 0.896431 # Tick! 3 0.618184 # Select returned! 3 0.620525 # 0.793158333333333 # Tick! 2 0.928132 # Select returned! 2 0.930364 # 0.689878666666667 # Tick! 1 1.238136 # Select returned! 1 1.240398 # 0.586534 # Tick! 0 1.55045 # Select returned! 0 1.552863 # 0.482379 ok 17 # 0 # setitimer: 0 0 ok 18 # getitimer: 0 0 # getitimer: 0 0 ok 19 not ok 20 # 1.51319098472595 went by while sleeping 1.5\, ratio 1.33333333333333. ok 21 # 1.5176819562912 went by while sleeping 1.5\, ratio 1.011516. ok 22 ok 23 ok 24 ok 25
DAB@idndb@pne /tk/users/pne/tmp/install/perl-5.8.0-RC2 > : ./perl -Ilib lib/ExtUtils/t/Constant.t 1..51 # perl=/tk/users/pne/tmp/install/perl-5.8.0-RC2/perl # ext-28595 being created... Can't locate ExtUtils/MakeMaker.pm in @INC (@INC contains: ../../lib /opt/perl5/lib/5.8.0/PA-RISC1.1 /opt/perl5/lib/5.8.0 /opt/perl5 /lib/site_perl/5.8.0/PA-RISC1.1 /opt/perl5/lib/site_perl/5.8.0 /opt/perl5/lib/site_perl .) at Makefile.PL line 2. BEGIN failed--compilation aborted at Makefile.PL line 2. not ok 1 # /tk/users/pne/tmp/install/perl-5.8.0-RC2/perl "-I../../lib" Makefile.PL failed: 512 # ext-28595 being removed...
Hope that helps some.
Migrated from rt.perl.org#9863 (status was 'resolved')
Searchable as RT9863$