Re: [ANNOUNCE] Test::Harness 2.00 release candiate 2

2001-12-17 Thread Abe Timmerman

Op een mooie dag  (Sun, 16 Dec 2001 15:30:17 -0500), besloot  Michael G Schwern
<[EMAIL PROTECTED]> de wereld om te draaien en schreef:

> > Sorry, I did look into the failed tests, but I don't understand the
> > Test::Harness::Straps::analyze_file() logic. MSWin32 doesn't support the open()
> > constructs with '-|' and '|-'.
> 
> Those should be gone in 2.00_04.  Are you sure you grabbed the right
> version?  What $VERSION is Test::Harness::Straps?


Doh, my bad, I had 2.00_01 hanging around on my system.

Works ok on both my regular ActivePerl 5.6.1 (build 628) and freshly compiled
bleadperl

Sorry!


-- 
Good luck, Abe
Amsterdam Perl Mongers http://amsterdam.pm.org
perl -Mstrict -wle 'sub Just{&$_}sub another{&$_}sub Perl{&$_}sub 
hacker{&$_}$_=sub{(split /::/,(caller $^W)[3])[-$^W].$"};print Just, another, Perl, 
hacker;'



Re: [ANNOUNCE] Test::Harness 2.00 release candiate 2

2001-12-16 Thread Michael G Schwern

On Sun, Dec 16, 2001 at 10:53:14PM +0100, Abe Timmerman wrote:
> Doh, my bad, I had 2.00_01 hanging around on my system.
> 
> Works ok on both my regular ActivePerl 5.6.1 (build 628) and freshly compiled
> bleadperl

Yay!  Thanks.


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/
Perl Quality Assurance  <[EMAIL PROTECTED]> Kwalitee Is Job One
First day in Prison
Back behind the shower door
Adhesive applied
-- ignatz



Re: [ANNOUNCE] Test::Harness 2.00 release candiate 2

2001-12-16 Thread Michael G Schwern

On Sun, Dec 16, 2001 at 12:07:36PM +0100, Abe Timmerman wrote:
> Failed Test   Stat Wstat Total Fail  Failed  List of Failed
> ---
> t\strap-analyze.t   18  460819   18  94.74%  2-19
> t\strap.t   12  3072   146   12   8.22%  51 57 63 75 80 87 98 100 105
>  111 116 123
> Failed 2/7 test scripts, 71.43% okay. 30/225 subtests failed, 86.67% okay.
> 
> Sorry, I did look into the failed tests, but I don't understand the
> Test::Harness::Straps::analyze_file() logic. MSWin32 doesn't support the open()
> constructs with '-|' and '|-'.

Those should be gone in 2.00_04.  Are you sure you grabbed the right
version?  What $VERSION is Test::Harness::Straps?


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/
Perl Quality Assurance  <[EMAIL PROTECTED]> Kwalitee Is Job One
gleam comes to my eyes
as I combine pure water
and triticale.
-- mjd



Re: [ANNOUNCE] Test::Harness 2.00 release candiate 2

2001-12-16 Thread Abe Timmerman

Op een mooie dag  (Sun, 16 Dec 2001 00:47:17 -0500), schreef Michael G Schwern
<[EMAIL PROTECTED]>:

> The second [1] Test::Harness 2.00 release candidate just went up to CPAN
> http://www.pobox.com/~schwern/src/Test-Harness-2.00_04.tar.gz

 

> Simply install the module, let me know if it went ok and your perl -V
> and go about your normal business.

Failed Test   Stat Wstat Total Fail  Failed  List of Failed
---
t\strap-analyze.t   18  460819   18  94.74%  2-19
t\strap.t   12  3072   146   12   8.22%  51 57 63 75 80 87 98 100 105
 111 116 123
Failed 2/7 test scripts, 71.43% okay. 30/225 subtests failed, 86.67% okay.

Sorry, I did look into the failed tests, but I don't understand the
Test::Harness::Straps::analyze_file() logic. MSWin32 doesn't support the open()
constructs with '-|' and '|-'.

The strap.t failures are mostley "got: undef expected: ''"; This has to do with
either the test-data or the Test::Harness::Straps::_is_test() interface.

This was tested with ActivePerl 5.6.1 (build 628) and bleadperl (W2k, MSVC60):

Summary of my perl5 (revision 5 undef) 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=undef usesocks=undef
use64bitint=undef use64bitall=undef uselongdouble=undef
usemymalloc=n, bincompat5005=undef
  Compiler:
cc='cl', ccflags ='-nologo -Gf -W3 -O1 -MD -DNDEBUG -DWIN32 -D_CONSOLE
-DNO_STRICT -DHAVE_DES_FC
RYPT   -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO
-DPERL_MSVCRT_READFIX',
optimize='-O1 -MD -DNDEBUG',
cppflags='-DWIN32'
ccversion='undef', gccversion='', gccosandvers='undef'
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='off_t', lseeksize=4
alignbytes=8, prototype=define
  Linker and Libraries:
ld='link', ldflags ='-nologo -nodefaultlib -release
-libpath:"c:\opt\perl572\lib\CORE"  -machin
e:x86'
libpth=\lib
libs=  oldnames.lib kernel32.lib user32.lib gdi32.lib winspool.lib  comdlg32.lib
advapi32.lib sh
ell32.lib ole32.lib oleaut32.lib  netapi32.lib uuid.lib wsock32.lib mpr.lib winmm.lib
version.lib o
dbc32.lib odbccp32.lib msvcrt.lib
perllibs=undef
libc=msvcrt.lib, so=dll, useshrplib=yes, libperl=perl57.lib
  Dynamic Linking:
dlsrc=dl_win32.xs, dlext=dll, d_dlsymun=undef, ccdlflags=' '
cccdlflags=' ', lddlflags='-dll -nologo -nodefaultlib -release
-libpath:"c:\opt\perl572\lib\COR
E"  -machine:x86'


Characteristics of this binary (from libperl):
  Compile-time options: MULTIPLICITY USE_ITHREADS PERL_IMPLICIT_CONTEXT
PERL_IMPLICIT_SYS
  Locally applied patches:
DEVEL13599
  Built under MSWin32
  Compiled at Dec 11 2001 00:50:41
  %ENV:
PERLDOC_PAGER="less"
  @INC:
c:/opt/perl572/lib
c:/opt/perl572/site/lib
.

-- 
Good luck, Abe
Amsterdam Perl Mongers http://amsterdam.pm.org
perl -Mstrict -wle 'sub Just{&$_}sub another{&$_}sub Perl{&$_}sub 
hacker{&$_}$_=sub{(split /::/,(caller $^W)[3])[-$^W].$"};print Just, another, Perl, 
hacker;'



[ANNOUNCE] Test::Harness 2.00 release candiate 2

2001-12-15 Thread Michael G Schwern

The second [1] Test::Harness 2.00 release candidate just went up to CPAN
http://www.pobox.com/~schwern/src/Test-Harness-2.00_04.tar.gz

As Test::Harness is a rather critical module, and this release is a
fairly major reshaping of the internal code, I'm going to do a round
of release candidates so people can shake out the bugs.  The first one
that lasts a week in the field wins.

Simply install the module, let me know if it went ok and your perl -V
and go about your normal business.  If something goes wrong, if you
suspect Test::Harness screwed up a 'make test', if you get a warning,
etc... post the bug to me and/or [EMAIL PROTECTED]  Users of non-Unix,
or non-mainstream Unix, I'd particularly like to hear from.

Now would be a good time to fire up the CPAN shell and install a bunch
of modules you've been meaning to upgrade.  CPAN module authors may
want to check their modules against this new harness.

Those interested in testing will want to look at the new
Test::Harness::Straps programatic interface to the harness.  Its not
complete, but at least there is a way to tell if a test passed or
failed without eyeballing the output.


I've decided that if I wait until the Test::Harness::Straps interface
is complete I'll never release the damned thing.  So I'm planting my
flag and starting the fight from here.


[1] The first one lasted about 5 minutes thanks to Gil.

-- 

Michael G. Schwern   <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/
Perl Quality Assurance  <[EMAIL PROTECTED]> Kwalitee Is Job One
Our business in life is not to succeed but to continue to fail in high spirits.
-- Robert Louis Stevenson