List Info

Thread: Test::Builder/More/Simple 0.71




Test::Builder/More/Simple 0.71
user name
2007-09-13 22:50:34
http://www.pobox.com/~schwern/src/Test-Simple-0.71.tar.
gz

The big change here?  No more sort_bug.t.  Bye bye 90% of my
spurious bug
reports.  It was testing two deprecated functions and tended
to hit bugs in
threaded perls that I can't fix and the user doesn't care
about.

I replaced with with a similar test for is_deeply().  If
that blows up under
threads then its important.


0.71  Thu Sep 13 20:42:36 PDT 2007
    Bug fixes
    - Fixed a problem with BEGIN  silently failing
when there's no
      plan set.  [rt.cpan.org 28345]  Thanks Adriano
Ferreira and Yitzchak.
    - Fixed an obscure problem with is_deeply() and
overloading ==
      [rt.cpan.org 20768].  Thanks Sisyphus.

    Test fixes
    - Removed dependency on Text::Soundex [rt.cpan.org
25022]
    - Fixed a 5.5.x failure in fail-more.t
    * Got rid of the annoying sort_bug.t test that revealed
problems with some
      threaded perls.  It was testing the deprecated eq_*
functions and not
      worth the bother.  Now it tests is_deeply(). 
[rt.cpan.org 17791]

    Doc fixes
    - Minor POD mistake in Test::Builder [rt.cpan.org
28869]
    * Test::FAQ has been updated with some more answers.

    Install fixes
    - Fixed the "LICENSE is not a known MakeMaker
parameter name" warning
      on older MakeMakers for real this time.

0.70  Thu Mar 15 15:53:05 PDT 2007
    Bug Fixes
    * The change to is_fh() in 0.68 broke the case where a
reference to
      a tied filehandle is used for perl 5.6 and back.  This
made the tests
      puke their guts out.


-- 
There will be snacks.

Re: Test::Builder/More/Simple 0.71
user name
2007-09-14 21:17:11
Michael G Schwern wrote:
> 0.71  Thu Sep 13 20:42:36 PDT 2007
>     Bug fixes
>     - Fixed a problem with BEGIN  silently
failing when there's no
>       plan set.  [rt.cpan.org 28345]  Thanks Adriano
Ferreira and Yitzchak.

Uh, oh!  This fix causes test failures with DBI and
Math::Random::MT::Auto.  For example, for DBI:

t/05thrclone..............You tried to run a test without a
plan at
t/05thrclone.t line 37.
BEGIN failed--compilation aborted at t/05thrclone.t line
38.
# Looks like your test died before it could output
anything.
dubious
        Test returned status 255 (wstat 65280, 0xff00)

I'll fix the tests for MRMA, and work on submitting a patch
for DBI, but there may be lots of other modules that this
affects.  (I'm not saying the fix is bad - just that it may
affect lots of modules.)

Re: Test::Builder/More/Simple 0.71
user name
2007-09-17 07:48:01
Michael G Schwern wrote:
> http://www.pobox.com/~schwern/src/Test-Simple-0.71.tar.
gz

BTW, when to you plan to submit a patch for this against
blead?

Re: Test::Builder/More/Simple 0.71
country flaguser name
United States
2007-09-17 18:13:48
Was this fixed and how can I get the fix?

On Sep 14, 7:17 pm, jdhed...cpan.org (Jerry D. Hedden)
wrote:
> Michael G Schwern wrote:

> > 0.71  Thu Sep 13 20:42:36 PDT 2007
> >     Bug fixes
> >     - Fixed a problem with BEGIN 
silently failing when there's no

> >       plan set.  [rt.cpan.org 28345]  Thanks
Adriano Ferreira and Yitzchak.
>
> Uh, oh!  This fix causes test failures with DBI and
> Math::Random::MT::Auto.  For example, for DBI:
>
> t/05thrclone..............You tried to run a test
without a plan at
> t/05thrclone.t line 37.
> BEGIN failed--compilation aborted at t/05thrclone.t
line 38.
> # Looks like your test died before it could output
anything.
> dubious
>         Test returned status 255 (wstat 65280, 0xff00)
>
> I'll fix the tests for MRMA, and work on submitting a
patch
> for DBI, but there may be lots of other modules that
this
> affects.  (I'm not saying the fix is bad - just that it
may
> affect lots of modules.)



Re: Test::Builder/More/Simple 0.71
user name
2007-09-18 20:03:13
Jerry D. Hedden wrote:
> Michael G Schwern wrote:
>> http://www.pobox.com/~schwern/src/Test-Simple-0.71.tar.
gz
> 
> BTW, when to you plan to submit a patch for this
against blead?

Magic p5p fairies usually take care of that.


-- 
Stabbing you in the face so you don't have to.

Re: Test::Builder/More/Simple 0.71
user name
2007-09-18 20:05:20
pcleddygmail.com wrote:
> Was this fixed and how can I get the fix?

Tim has a fix for DBI.  I've just poked him to see if he'll
do a quick release.


-- 
Stabbing you in the face for your own good.

Re: Test::Builder/More/Simple 0.71
user name
2007-09-19 08:23:30
On Tue, Sep 18, 2007 at 06:03:13PM -0700, Michael G Schwern
wrote:
> Jerry D. Hedden wrote:
> > Michael G Schwern wrote:
> >> http://www.pobox.com/~schwern/src/Test-Simple-0.71.tar.
gz
> > 
> > BTW, when to you plan to submit a patch for this
against blead?
> 
> Magic p5p fairies usually take care of that.
> 

I hope that isn't a title that sticks.  Bleadperl is updated
to 
Test-Simple-0.71 with change #31907.

Steve Peters
stevefisharerojo.org

Re: Test::Builder/More/Simple 0.71
user name
2007-09-19 09:30:16
On 19/09/2007, Steve Peters <stevefisharerojo.org> wrote:
> On Tue, Sep 18, 2007 at 06:03:13PM -0700, Michael G
Schwern wrote:
> > Jerry D. Hedden wrote:
> > > Michael G Schwern wrote:
> > >> http://www.pobox.com/~schwern/src/Test-Simple-0.71.tar.
gz
> > >
> > > BTW, when to you plan to submit a patch for
this against blead?
> >
> > Magic p5p fairies usually take care of that.
> >
>
> I hope that isn't a title that sticks.  Bleadperl is
updated to
> Test-Simple-0.71 with change #31907.

And tests now pass with following change.
It takes care of
a/ pushing the right dirs in INC when running in the
perl core test suite
b/ fixes the $VERSION of Dummy.pm. Apparently bleadperl
comes with
another version of Dummy.pm than Test::Simple........ don't
ask me
why...

Change 31911 by rgsstcosmo on 2007/09/19 14:28:28

	Fix failing Test::Simple test

Affected files ...

... //depot/perl/lib/Test/Simple/t/More.t#11 edit

Differences ...

==== //depot/perl/lib/Test/Simple/t/More.t#11 (text) ====

 -3,7
+3,7 
 BEGIN {
     if( $ENV ) {
         chdir 't';
-        INC = '../lib';
+        INC = qw(../lib lib);
     }
 }

 -17,7
+17,7 
 $! = $Errno;

 use_ok('Dummy');
-is( $Dummy::VERSION, '0.01', 'use_ok() loads a module' );
+is( $Dummy::VERSION, '5.562', 'use_ok() loads a module' );
 require_ok('Test::More');

Re: Test::Builder/More/Simple 0.71
user name
2007-09-19 11:51:40
If it is a mechanical fix, ie easy to explain and implement,
and would
take under an hour, I can whip it out, send you the patch,
just send
the details.

Otherwise, I'll keep an eye out for 1.60, no rush really at
all.

On 9/18/07, Michael G Schwern <schwernpobox.com> wrote:
> pcleddygmail.com wrote:
> > Was this fixed and how can I get the fix?
>
> Tim has a fix for DBI.  I've just poked him to see if
he'll do a quick release.
>
>
> --
> Stabbing you in the face for your own good.
>

Re: Test::Builder/More/Simple 0.71
user name
2007-09-19 19:38:05
Rafael Garcia-Suarez wrote:
> And tests now pass with following change.
> It takes care of
> a/ pushing the right dirs in INC when running in the
perl core test suite
> b/ fixes the $VERSION of Dummy.pm. Apparently bleadperl
comes with
> another version of Dummy.pm than Test::Simple........
don't ask me
> why...

One's MakeMaker's, one's Test-Simple's.


-- 
Stabbing you in the face for your own good.

[1-10] [11-13]

about | contact  Other archives ( Real Estate discussion Medical topics )