I wanted to build an awesome place for people to discuss module specific issues, but I don't have any more time for this, and there are much better places to discuss Perl-related issues. I'd recommend asking your question on Stack Overflow or on Perl Monks.
If you are looking for a Perl tutorial or Perl-related news, I hope these links will serve you well.
Posted on 2005-03-02 13:16:46-08 by sagar
Time::HiRes test failures on Solaris 2.6 machine
Any ideas about this test failure for Time::HiRes ? $ /home/shahsag/install/perl/5.8.6/bin/prove -v -d t/HiRes.t # $Test::Harness::Switches: # 1 tests to run # Running: /home/shahsag/install/perl/5.8.6/bin/perl t/HiRes.t t/HiRes....1..28 ok 1 # I am process 10829, starting the timer process ok 2 ok 3 # I am timer process 10830 ok 4 ok 5 ok 6 ok 7 ok 8 ok 9 ok 10 ok 11 ok 12 # tick = 1, one = 1109768844, two = 1109768844, three = 1109768844 ok 13 # tick = 3, one = 1109768844, two = 1109768844, three = 1109768844 ok 14 # s = 14.7198493480682, n = 100, s/n = 0.147198493480682 # time...1109768844.15081 ok 15 # sleep...0.504138 ok 16 # Tick! 4 0.309948 # Select returned! 4 0.310304 # 0.896565333333333 # Tick! 3 0.619858 # Select returned! 3 0.62014 # 0.793286666666667 # Tick! 2 0.929928 # Select returned! 2 0.930208 # 0.689930666666667 # Tick! 1 1.239682 # Select returned! 1 1.239894 # 0.586702 # Tick! 0 1.54969 # Select returned! 0 1.549903 # 0.483365666666667 ok 17 # 0 # setitimer: ok 18 # getitimer: 0 0 # getitimer: 0 0 ok 19 ok 20 # 1.30389714241028 went by while sleeping 1.5, ratio 1.130806. not ok 21 # 0.999860048294067 went by while sleeping 1.5, ratio 1.333498. ok 22 # skipped ok 23 # skipped ok 24 ok 25 ok 26 ok 27 ok 28 # skipped # I am process 10829, terminating the timer process 10830 FAILED test 21 Failed 1/28 tests, 96.43% okay (less 3 skipped tests: 24 okay, 85.71%) Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/HiRes.t 28 1 3.57% 21 3 subtests skipped. Failed 1/1 test scripts, 0.00% okay. 1/28 subtests failed, 96.43% okay. $ uname -a SunOS oplss0004 5.6 Generic_105181-17 sun4u sparc SUNW,Ultra-Enterprise $ /home/shahsag/install/perl/5.8.6/bin/perl -V Summary of my perl5 (revision 5 version 8 subversion 6) configuration: Platform: osname=solaris, osvers=2.6, archname=sun4-solaris-thread-multi-64int uname='sunos oplss0004 5.6 generic_105181-17 sun4u sparc sunw,ultra-enterprise ' config_args='-Dprefix=/home/shahsag/install/perl/5.8.6 -Dcc=gcc -Dprivlib=/home/shahsag/install/per +l/5.8.6/lib -Darchlib=/home/shahsag/install/perl/5.8.6/lib -Dsiteprefix=/home/shahsag/install/perl +/5.8.6 -Dsitelib=/home/shahsag/install/perl/5.8.6/lib -Dsitearch=/home/shahsag/install/perl/5.8.6/ +lib -Dusethreads -Duseperlio -Duse64bitint -Dloclibpth=/home/shahsag/lib /home/shahsag/install/bin +utils/intall/lib -d' hint=recommended, useposix=true, d_sigaction=define usethreads=define use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=define use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='gcc', ccflags ='-D_REENTRANT -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURC +E -D_FILE_OFFSET_BITS=64', optimize='-O', cppflags='-D_REENTRANT -fno-strict-aliasing -pipe -I/usr/local/include' ccversion='', gccversion='2.95.2 19991024 (release)', gccosandvers='solaris2.6' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16 ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='gcc', ldflags =' -L/home/shahsag/lib ' libpth=/home/shahsag/lib /usr/lib /usr/ccs/lib /usr/local/lib libs=-lsocket -lnsl -ldl -lm -lpthread -lc perllibs=-lsocket -lnsl -ldl -lm -lpthread -lc libc=/lib/libc.so, so=so, useshrplib=false, libperl=libperl.a gnulibc_version='' Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' ' cccdlflags='-fPIC', lddlflags='-G -L/home/shahsag/lib' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_64_BIT_INT USE_LARGE_FILES PERL_IMPLICIT_CONT +EXT Built under solaris Compiled at Mar 1 2005 10:58:45 @INC: /home/shahsag/install/perl/5.8.6/lib /home/shahsag/install/perl/5.8.6/lib /home/shahsag/install/perl/5.8.6/lib /home/shahsag/install/perl/5.8.6/lib .
Direct Responses: 203 | Write a response