MacOS X and Solaris/Sparc available for testing

2001-09-25 Thread Michael G Schwern

Matthias tipped me off to this:

"SourceForge.net Compile Farm Features Apple's Latest OS X (10.1)"

There's our MacOS X server to test against.  SourceForge's compile
farm also has DEC Alpha/Linux, Linux/PowerPC, Linux/Sparc64 and
Solaris/Sparc (R220) which should round out the available testing
platforms nicely.

I've double-checked with the SourceForge guys, we're clear to use
their machines for smoking Perl.

For more info on SourceForge's compile farm...
http://sourceforge.net/docman/display_doc.php?docid=762&group_id=1



-- 

Michael G. Schwern   <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/
Perl6 Quality Assurance <[EMAIL PROTECTED]>   Kwalitee Is Job One
There's so much more to me than my arm.



Re: [PATCH] Test::More isa_ok function

2001-09-25 Thread Dave Rolsky

On Tue, 25 Sep 2001, Michael G Schwern wrote:

> A, ok.  How about this:
>
> my $yarrow = Bar->new;
> isa_ok($yarrow, "Bar", 'yarrow');
>
>
> not ok 1 - yarrow->isa('bar')
> # Failed test (foo.plx at line 3)
> # yarrow isn't a 'Bar'

That's better, I guess.  But I'm mostly doing:

isa_ok($foo, 'Alzabo::Foo', 'Return value from $bar->foreign_keys should be 
"Alzabo::Foo"');

That way if it fails I know exactly what was going on.  I'm big on
verbosity here ;)


-dave

/*==
www.urth.org
We await the New Sun
==*/




Re: [PATCH] Test::More isa_ok function

2001-09-25 Thread chromatic

In article <[EMAIL PROTECTED]>, "Dave Rolsky"
<[EMAIL PROTECTED]> wrote:

> On Tue, 25 Sep 2001, Michael G Schwern wrote:
 
>> A, ok.  How about this:
>>
>> my $yarrow = Bar->new;
>> isa_ok($yarrow, "Bar", 'yarrow');

> isa_ok($foo, 'Alzabo::Foo', 'Return value from $bar->foreign_keys should be
> "Alzabo::Foo"');

Combining the two gives us a test and a very contrived test failure output:
 
isa_ok($foo, 'Alzabo::Foo', 'Return value from $bar->foreign_keys');

not ok 1 - $foo->isa('bar')
# Failed test (foo.plx at line 3)
# Return value from $bar->foreign_keys isn't a 'Alzabo::Foo'


The syntax is a little different, but it's *really* close.

-- c



Re: [PATCH] Test::More isa_ok function

2001-09-25 Thread Dave Rolsky

On Tue, 25 Sep 2001, chromatic wrote:

> Combining the two gives us a test and a very contrived test failure output:
>
>   isa_ok($foo, 'Alzabo::Foo', 'Return value from $bar->foreign_keys');
>
>   not ok 1 - $foo->isa('bar')
>   # Failed test (foo.plx at line 3)
>   # Return value from $bar->foreign_keys isn't a 'Alzabo::Foo'
>
>
> The syntax is a little different, but it's *really* close.

I like it.


-dave

/*==
www.urth.org
We await the New Sun
==*/




Re: Untested libraries update

2001-09-25 Thread lars

On Fri, 21 Sep 2001, Michael G Schwern wrote:

> On Fri, Sep 21, 2001 at 10:57:39AM +0200, [EMAIL PROTECTED] wrote:
> > How about testing on 127.0.0.1?
> 
> As insane as it sounds, it might not be there.  There might be no IP
> system at all.  Consider DOS.

I was thinking after testing for IP connection.

> 
> 
> -- 
> 
> Michael G. Schwern   <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/
> Perl6 Quality Assurance <[EMAIL PROTECTED]> Kwalitee Is Job One
> We're talkin' to you, weaselnuts.
>   http://www.goats.com/archive/000831.html
> 

---
Regards, Lars
Perl developer - www.kultunaut.dk




Re: [PATCH] Test::More isa_ok function

2001-09-25 Thread Michael G Schwern

On Mon, Sep 24, 2001 at 10:40:53PM -0500, Dave Rolsky wrote:
> > What sort of names do you tend to throw in there?
> 
> Just something more descriptive than what it generates by default.
> Something like "Check that object X isa Blah".  The key being that I want
> to say _what_ object I'm checking.

A, ok.  How about this:

my $yarrow = Bar->new;
isa_ok($yarrow, "Bar", 'yarrow');

 
not ok 1 - yarrow->isa('bar')
# Failed test (foo.plx at line 3)
# yarrow isn't a 'Bar'


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/
Perl6 Quality Assurance <[EMAIL PROTECTED]>   Kwalitee Is Job One
Maybe they hooked you up with one of those ass-making magazines.
-- brian d. foy as misheard by Michael G Schwern



Re: Untested libraries update

2001-09-25 Thread Michael G Schwern

On Tue, Sep 25, 2001 at 09:32:17AM +0200, [EMAIL PROTECTED] wrote:
> On Fri, 21 Sep 2001, Michael G Schwern wrote:
> 
> > On Fri, Sep 21, 2001 at 10:57:39AM +0200, [EMAIL PROTECTED] wrote:
> > > How about testing on 127.0.0.1?
> > 
> > As insane as it sounds, it might not be there.  There might be no IP
> > system at all.  Consider DOS.
> 
> I was thinking after testing for IP connection.

Can you differenciate between Perl's IP socket system being broken and
the OS's IP system being broken/non-existent?


-- 

Michael G. Schwern   <[EMAIL PROTECTED]>http://www.pobox.com/~schwern/
Perl6 Quality Assurance <[EMAIL PROTECTED]>   Kwalitee Is Job One
Plus I remember being impressed with Ada because you could write an
infinite loop without a faked up condition.  The idea being that in Ada
the typical infinite loop would be normally be terminated by detonation.
-- Larry Wall in <[EMAIL PROTECTED]>