Skip Menu |

This queue is for tickets about the CVSUtils CPAN distribution.

Report information
The Basics
Id: 1333
Status: open
Priority: 0/
Queue: CVSUtils

People
Owner: Nobody in particular
Requestors: sean [...] dague.net
Cc:
AdminCc:

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



Subject: make test fails
This bug is for CVSUtils 1.00. It doesn't pass make test on my platform (Mandrake Linux 8.2 on a Pentium III machine) perl -V: Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration: Platform: osname=linux, osvers=2.4.16-6mdksmp, archname=i386-linux uname='linux bi.mandrakesoft.com 2.4.16-6mdksmp #1 smp sat dec 8 04:02:48 cet 2001 i686 unknown ' config_args='-des -Darchname=i386-linux -Dd_dosuid -Ud_csh -Duseshrplib -Doptimize=-O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce -Dprefix=/usr -Di_ndbm -Di_gdbm -Di_shadow -Di_syslog -Uuselargefiles -Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/lib/perl5/man/man3' hint=recommended, useposix=true, d_sigaction=define usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef useperlio=undef d_sfio=undef uselargefiles=undef usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef Compiler: cc='cc', ccflags ='-fno-strict-aliasing -I/usr/local/include', optimize='-O3 -fomit-frame-pointer -pipe -mcpu=pentiumpro -march=i586 -ffast-math -fno-strength-reduce', cppflags='-fno-strict-aliasing -I/usr/local/include' ccversion='', gccversion='2.96 20000731 (Mandrake Linux 8.2 2.96-0.75mdk)', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=12 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='off_t', lseeksize=4 alignbytes=4, usemymalloc=n, prototype=define Linker and Libraries: ld='cc', ldflags =' -L/usr/local/lib' libpth=/usr/local/lib /lib /usr/lib libs=-lnsl -ldl -lm -lc -lcrypt -lutil perllibs=-lnsl -ldl -lm -lc -lcrypt -lutil libc=/lib/libc-2.2.4.so, so=so, useshrplib=true, libperl=libperl.so Dynamic Linking: dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags='-rdynamic -Wl,-rpath,/usr/lib/perl5/5.6.1/i386-linux/CORE' cccdlflags='-fpic', lddlflags='-shared -L/usr/local/lib' Characteristics of this binary (from libperl): Compile-time options: Built under linux Compiled at Feb 21 2002 01:00:32 %ENV: PERLLIB="/home/sdague/SIS/systeminstaller/lib" @INC: /home/sdague/SIS/systeminstaller/lib /usr/lib/perl5/5.6.1/i386-linux /usr/lib/perl5/5.6.1 /usr/lib/perl5/site_perl/5.6.1/i386-linux /usr/lib/perl5/site_perl/5.6.1 /usr/lib/perl5/site_perl . Output of 'make test TEST_VERBOSE=1': cp bin/cvs2cl blib/script/cvs2cl /usr/bin/perl -I/usr/lib/perl5/5.6.1/i386-linux -I/usr/lib/perl5/5.6.1 -MExtUti s::MakeMaker -e "MY->fixin(shift)" blib/script/cvs2cl PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib -I/usr/lib/perl5/5.6.1/i 86-linux -I/usr/lib/perl5/5.6.1 -e 'use Test::Harness qw(&runtests $verbose); $ erbose=1; runtests @ARGV;' t/*.t t/cvs2cl-basic....1..4 ok 1 ok 2 not ok 3 # Test 3 got: '0' (/root/.cpan/build/CVSUtils-1.00/t/test2.pm at line 619) # Expected: '1' (cvs2cl: check file Audio-WAV-ChangeLog.vanilla) ok 4 FAILED test 3 Failed 1/4 tests, 75.00% okay t/cvs2cl-opts.....1..10 ok 1 ok 2 not ok 3 # Test 3 got: '0' (/root/.cpan/build/CVSUtils-1.00/t/test2.pm at line 619) # Expected: '1' (cvs2cl -r: check file Audio-WAV-ChangeLog.-r) ok 4 ok 5 not ok 6 # Test 6 got: '0' (/root/.cpan/build/CVSUtils-1.00/t/test2.pm at line 619 fail 2) # Expected: '1' (cvs2cl -b: check file Audio-WAV-ChangeLog.-b) ok 7 ok 8 not ok 9 # Test 9 got: '0' (/root/.cpan/build/CVSUtils-1.00/t/test2.pm at line 619 fail 3) # Expected: '1' (cvs2cl -t: check file Audio-WAV-ChangeLog.-t) ok 10 FAILED tests 3, 6, 9 Failed 3/10 tests, 70.00% okay t/redbean.........1..31 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 ok 15 ok 16 ok 17 ok 18 ok 19 ok 20 ok 21 ok 22 ok 23 ok 24 ok 25 ok 26 ok 27 ok 28 ok 29 ok 30 ok 31 ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t/cvs2cl-basic.t 4 1 25.00% 3 t/cvs2cl-opts.t 10 3 30.00% 3 6 9 Failed 2/3 test scripts, 33.33% okay. 4/45 subtests failed, 91.11% okay. make: *** [test_dynamic] Error 11
From: pause [...] ls26.net
On Thu Jul 25 11:13:29 2002, guest wrote: Show quoted text
> This bug is for CVSUtils 1.00. It doesn't pass make test on my > platform (Mandrake Linux 8.2 on a Pentium III machine) > > [cut]
These test fails are due to a timezone issue. When cvs2cl creates a changelog, it transforms the cvs log timestamp to the user's localtime by default. If this is something other than UTC, the expected and actual timestamps will differ, and the tests will fail. The fix is to call cvs2cl with the --utc option. I have attached a tar file containing patches for the affected tests. The post-patch tests all pass on my machine (Fedora Core 4 on Pentuum 4).
Download cvsutils.patches.tar.gz
application/x-gzip 1.4k

Message body not shown because it is not plain text.