Skip Menu |
 

This queue is for tickets about the CGI-Application CPAN distribution.

Report information
The Basics
Id: 5196
Status: resolved
Priority: 0/
Queue: CGI-Application

People
Owner: Nobody in particular
Requestors: muenalan [...] cpan.org
Cc:
AdminCc:

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



Subject: [win32/activestate5.8.2] 01cgiapp.t 3/26 tests fail
Download (untitled) / with headers
text/plain 6.1k
I love this module ! Remember: to gain people for linux, we must tease them with win32 compabilty :) Lord of the win32 compabilty ;0) Murat --- V:\.cpan\build\CGI-Application-3.2>perl -Mblib -IC:\opt\perl\lib -IC:\opt\perl\lib -e "use Test::Harness qw(&runtests $verbose); $verbose=1; runtests @ARGV;" t\01cgi app.t t\01cgiapp....1..26 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 not ok 19 not ok 20 ok 21 ok 22 ok 23 ok 24 not ok 25 ok 26 FAILED tests 19-20, 25 Failed 3/26 tests, 88.46% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t\01cgiapp.t 26 3 11.54% 19-20 25 Failed 1/1 test scripts, 0.00% okay. 3/26 subtests failed, 88.46% okay. --- CPAN.pm: Going to build M/MA/MARKSTOS/CGI-Application-3.2.tar.gz Checking if your kit is complete... Looks good Writing Makefile for CGI::Application Microsoft (R) Program Maintenance Utility Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. cp lib/CGI/Application/Mailform.pm blib\lib\CGI\Application\Mailform.pm cp lib/CGI/Application.pm blib\lib\CGI\Application.pm "C:\Programme\Microsoft Visual Studio .NET\Vc7\bin\nmake.EXE" -- OK Running make test Microsoft (R) Program Maintenance Utility Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. Skip blib\lib\CGI\Application\Mailform.pm (unchanged) Skip blib\lib\CGI\Application.pm (unchanged) Z:\www\perl\bin\perl.exe "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib\lib', 'blib\arch')" t\01cgiapp.t t\02mailform.t t\03prerun.t t\04getquery.t t\ 05arrayrefmodes.t t\06enhancement31.t t\07postrun.t t\08cgicarp.t t\01cgiapp...........FAILED tests 19-20, 25 Failed 3/26 tests, 88.46% okay t\02mailform.........ok t\03prerun...........ok t\04getquery.........ok t\05arrayrefmodes....ok t\06enhancement31....ok t\07postrun..........ok t\08cgicarp..........ok Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------------- t\01cgiapp.t 26 3 11.54% 19-20 25 Failed 1/8 test scripts, 87.50% okay. 3/61 subtests failed, 95.08% okay. NMAKE : fatal error U1077: 'Z:\www\perl\bin\perl.exe' : return code '0xff' Stop. "C:\Programme\Microsoft Visual Studio .NET\Vc7\bin\nmake.EXE" test -- NOT OK Running make install make test had returned bad status, won't install without force --- Summary of my perl5 (revision 5 version 8 subversion 2) configuration: Platform: osname=MSWin32, osvers=4.0, archname=MSWin32-x86-multi-thread uname='' config_args='undef' hint=recommended, useposix=true, d_sigaction=undef usethreads=undef use5005threads=undef useithreads=define usemultiplicity=define useperlio=define d_sfio=undef uselargefiles=define usesocks=undef use64bitint=undef use64bitall=undef uselongdouble=undef usemymalloc=n, bincompat5005=undef Compiler: cc='cl', ccflags ='-nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSOLE -DNO_STRICT -DHAVE_DES_FCRYPT -DNO_HASH_SEED -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_ SYS -DUSE_PERLIO -DPERL_MSVCRT_READFIX', optimize='-MD -Zi -DNDEBUG -O1', cppflags='-DWIN32' ccversion='', gccversion='', gccosandvers='' intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=1234 d_longlong=undef, longlongsize=8, d_longdbl=define, longdblsize=10 ivtype='long', ivsize=4, nvtype='double', nvsize=8, Off_t='__int64', lseeksize=8 alignbytes=8, prototype=define Linker and Libraries: ld='link', ldflags ='-nologo -nodefaultlib -debug -opt:ref,icf -libpath:"z:\www\perl\lib\CORE" -machine:x86' libpth=C:\PROGRA~1\MICROS~3\VC98\lib libs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock32.l ib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib perllibs= oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib netapi32.lib uuid.lib wsock 32.lib mpr.lib winmm.lib version.lib odbc32.lib odbccp32.lib msvcrt.lib libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl58.lib gnulibc_version='undef' Dynamic Linking: dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' ' cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -debug -opt:ref,icf -libpath:"z:\www\perl\lib\CORE" -machine:x86' Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT PERL_IMPLICIT_SYS Locally applied patches: ActivePerl Build 808 21846 Configure gets d_u32align wrong 21739 [perl #24493] install.html not working 21737 Ooops. left an XXX comment in, and worse still it's a // comment 21735 utf8 keys now work for tied hashes 21734 Accessing unicode keys in tie hashes via hv_exists was broken 21733 ext/threads/t/problem.t 21732 Config::myconfig() fails under ithreads 21728 Update perlhist with 5.6.2 21723 Include 'SCCS' in the list of dir names ignored by installperl 21718 Empty subroutine as object method segfaults in 5.8.2 (sometimes) 21714 Fix bug #24380: assigning list with duplicated keys to a hash 21706 [perl #24460] [DOC PATCH] the begincheck program 21693 must copy changes from win32/makeifle.mk to wince/makefile.ce 21691 Update the list of pumpkings in perlhist.pod 21687 [PATCH 5.6.2-RC1 pod/perlhist.pod] Updated 21677 OS/2 docu 21676 Bug #24407: key for shared hash got stringified into wrong pool 21673 Be sure to use -fPIC not -fpic on Linux/SPARC 21672 extending the hash attack test 21671 Benchmark.pm cmpthese segfault 21662 'make minitest' fails for op/cproto and op/pat 21586 Comment that this 'optimisation' is actually a necessary fixup 21548 Sync with Pod::Perldoc 3.12 21540 Fix backward-compatibility issues in if.pm Built under MSWin32 Compiled at Dec 9 2003 10:19:40 @INC: Z:/www/perl/lib Z:/www/perl/site/lib .
Download (untitled) / with headers
text/plain 425b
I was gonna report this too :) the problem is that the test tests for 'test' where 'Test' is expected if (($t19_output =~ /test:\ 1/) && ($t19_output =~ /Moved/)) { Show quoted text
> > V:\.cpan\build\CGI-Application-3.2>perl -Mblib -IC:\opt\perl\lib > -IC:\opt\perl\lib -e "use Test::Harness qw(&runtests $verbose); > $verbose=1; runtests @ARGV;" t\01cgi > app.t
Try make test TEST_VERBOSE=1 TEST_FILES=t\01cgiapp.t next time :)
Download (untitled) / with headers
text/plain 750b
[PODMASTER - Wed Feb 4 05:56:47 2004]: Show quoted text
> I was gonna report this too :) the problem is that the test > tests for 'test' where 'Test' is expected > > if (($t19_output =~ /test:\ 1/) && ($t19_output =~ /Moved/)) {
yep! After adding //i respectively all tests pass. V:\.cpan\build\CGI-Application-3.2\t>grep -n '/i' 01cgiapp.t 420:if (($t19_output =~ /test:\ 1/i) && ($t19_output =~ /Moved/)) { 431:if (($t20_output =~ /test:\ Updated/i) && ($t20_output !~ /second- header:\ 1/) && $t20_output !~ /Test2:/) { 487:if (($t25_output =~ /test:\ 1/i) && ($t25_output =~ /Moved/)) { Looks like its time for win32-compatible CGI-Application-3.21 ! PS: I herewith offer to volunteer as CPAN pre-realease win32-tester ! Thanks Postmaster, Murat


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.