This distribution has been tested as part of the cpan-testers
effort to test as many new uploads to CPAN as possible.  See
http://testers.cpan.org/

Please cc any replies to [email protected] to keep other
test volunteers informed and to prevent any duplicate effort.
        
--
$ make test TEST_VERBOSE=1
cp HiRes.pm blib/lib/Time/HiRes.pm
/usr/local/bin/perl /usr/local/lib/perl5/5.8.8/ExtUtils/xsubpp  -typemap 
/usr/local/lib/perl5/5.8.8/ExtUtils/typemap -typemap typemap  HiRes.xs > 
HiRes.xsc && mv HiRes.xsc HiRes.c
cc -c   -fno-common -DPERL_DARWIN -no-cpp-precomp -fno-strict-aliasing -pipe 
-I/usr/local/include -Os   -DVERSION=\"1.93\" -DXS_VERSION=\"1.93\"  
"-I/usr/local/lib/perl5/5.8.8/darwin-2level/CORE"  -DTIME_HIRES_NANOSLEEP 
-DTIME_HIRES_CLOCK -DTIME_HIRES_STAT=1 -DATLEASTFIVEOHOHFIVE HiRes.c
Running Mkbootstrap for Time::HiRes ()
chmod 644 HiRes.bs
rm -f blib/arch/auto/Time/HiRes/HiRes.bundle
env MACOSX_DEPLOYMENT_TARGET=10.3 cc  -bundle -undefined dynamic_lookup 
-L/usr/local/lib HiRes.o  -o blib/arch/auto/Time/HiRes/HiRes.bundle     \
        \
  
chmod 755 blib/arch/auto/Time/HiRes/HiRes.bundle
cp HiRes.bs blib/arch/auto/Time/HiRes/HiRes.bs
chmod 644 blib/arch/auto/Time/HiRes/HiRes.bs
PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" 
"test_harness(1, 'blib/lib', 'blib/arch')" t/*.t
t/HiRes....1..38
ok 1
# have_gettimeofday    = 1
# have_usleep          = 1
# have_nanosleep       = 1
# have_ualarm          = 1
# have_clock_gettime   = 0
# have_clock_getres    = 0
# have_clock_nanosleep = 0
# have_clock           = 1
# have_hires_stat      = 1
# I am the main process 5039, starting the timer process...
# I am the timer process 5040, sleeping for 90 seconds...
# The timer process 5040 launched, continuing testing...
ok 2
ok 3
ok 4
ok 5
ok 6
ok 7
ok 8
ok 9
ok 10
ok 11
ok 12
# tick = 1, one = 1160928390, two = 1160928390, three = 1160928391
ok 13
# tick = 3, one = 1160928390, two = 1160928390, three = 1160928391
ok 14
# s = 7.0005476474762, n = 100, s/n = 0.070005476474762
# time...1160928391.12648
ok 15
# sleep...0.500176
ok 16
# Tick! 4 0.310758
# Select returned! 4 0.311255
# 0.896248333333333
# Tick! 3 0.622277
# Select returned! 3 0.622665
# 0.792445
# Tick! 2 0.923174
# Select returned! 2 0.923471
# 0.692176333333333
# Tick! 1 1.22394
# Select returned! 1 1.224424
# 0.591858666666667
# Tick! 0 1.527711
# Select returned! 0 1.528008
# 0.490664
ok 17 # 0
# setitimer: 0 0
ok 18
# getitimer: 0.5 0.4
# Tick! 2 1.322157
# Tick! 1 2.402197
# Tick! 0 3.502225
# Tick! 0 4.632323
# getitimer: 0 0
ok 19
ok 20 # 1.50112891197205 went by while sleeping 1.5, ratio 1.00071466666667.
ok 21 # 1.57656717300415 went by while sleeping 1.5, ratio 1.05092733333333.
ok 22
ok 23
ok 24
ok 25
ok 26
ok 27
ok 28
# N = 1024, t1 = 1160928401.54739, t0 = 1160928401.54659, dt = 
0.000796079635620117
# N = 2048, t1 = 1160928401.54907, t0 = 1160928401.54749, dt = 
0.00157403945922852
# N = 4096, t1 = 1160928401.55463, t0 = 1160928401.54911, dt = 
0.00551605224609375
# N = 8192, t1 = 1160928401.76097, t0 = 1160928401.5548, dt = 0.206167936325073
# Alarm 1 - 1160928401.78936
# Alarm 2 - 1160928401.8644
ok 29
# No clock_gettime
ok 30 # skipped
# No clock_getres
ok 31 # skipped
# No clock_nanosleep
ok 32 # skipped
# clock = 1.99
# clock = 1.99 2.7
# clock = 1.99 2.7 3.42
# clock = 1.99 2.7 3.42 4.18
ok 33
# t0 = 1160928408.26247
# ualarm(100000)
# t1 = 1160928408.36695
# dt = 0.104480028152466
ok 34
# t0 = 1160928408.37427
# ualarm(1100000)
# t1 = 1160928409.48283
# dt = 1.10856199264526
ok 35
# t0 = 1160928409.49005
# ualarm(2200000)
# t1 = 1160928411.7233
# dt = 2.23325085639954
ok 36
# t0 = 1160928411.73069
# ualarm(4300000)
# t1 = 1160928416.03791
# dt = 4.30721688270569
ok 37
# 1160928416.20678 1160928416 1160928416.5668 1160928416 1160928416.93681 
1160928416 1160928417.29681 1160928417 1160928417.67681 1160928417
not ok 38
# I am the main process 5039, terminating the timer process 5040
# before it terminates me in 60 seconds (testing took 29 seconds).
# kill TERM 5040 = 1
# All done.
FAILED test 38
        Failed 1/38 tests, 97.37% okay
Failed Test Stat Wstat Total Fail  List of Failed
-------------------------------------------------------------------------------
t/HiRes.t                 38    1  38
Failed 1/1 test scripts. 1/38 subtests failed.
Files=1, Tests=38, 29 wallclock secs ( 6.85 cusr +  0.13 csys =  6.98 CPU)
Failed 1/1 test programs. 1/38 subtests failed.
make: *** [test_dynamic] Error 255
--

Summary of my perl5 (revision 5 version 8 subversion 8) configuration:
  Platform:
    osname=darwin, osvers=7.9.0, archname=darwin-2level
    uname='darwin wyants-white-imac.local 7.9.0 darwin kernel version 7.9.0: 
wed mar 30 20:11:17 pst 2005; root:xnuxnu-517.12.7.obj~1release_ppc power 
macintosh powerpc '
    config_args='-Dprefix=/usr/local/test/perl/5.8.8'
    hint=recommended, useposix=true, d_sigaction=define
    usethreads=undef use5005threads=undef useithreads=undef 
usemultiplicity=undef
    useperlio=define d_sfio=undef uselargefiles=define usesocks=undef
    use64bitint=undef use64bitall=undef uselongdouble=undef
    usemymalloc=n, bincompat5005=undef
  Compiler:
    cc='cc', ccflags ='-fno-common -DPERL_DARWIN -no-cpp-precomp 
-fno-strict-aliasing -pipe -I/usr/local/include',
    optimize='-Os',
    cppflags='-no-cpp-precomp -fno-common -DPERL_DARWIN -no-cpp-precomp 
-fno-strict-aliasing -pipe -I/usr/local/include'
    ccversion='', gccversion='3.3 20030304 (Apple Computer, Inc. build 1671)', 
gccosandvers=''
    intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=4321
    d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=8
    ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', 
lseeksize=8
    alignbytes=8, prototype=define
  Linker and Libraries:
    ld='env MACOSX_DEPLOYMENT_TARGET=10.3 cc', ldflags =' -L/usr/local/lib'
    libpth=/usr/local/lib /usr/lib
    libs=-ldbm -ldl -lm -lc
    perllibs=-ldl -lm -lc
    libc=/usr/lib/libc.dylib, so=dylib, useshrplib=false, libperl=libperl.a
    gnulibc_version=''
  Dynamic Linking:
    dlsrc=dl_dyld.xs, dlext=bundle, d_dlsymun=undef, ccdlflags=' '
    cccdlflags=' ', lddlflags=' -bundle -undefined dynamic_lookup 
-L/usr/local/lib'

Reply via email to