develooper Front page | perl.perl5.porters | Postings from April 2006

Re: Making IO::Socket pass test on Win32

Thread Previous | Thread Next
Jim Cromie
April 4, 2006 10:05
Re: Making IO::Socket pass test on Win32
Message ID:
demerphq wrote:
> On 4/4/06, Rafael Garcia-Suarez <> wrote:
>> demerphq wrote:
>>> On 4/4/06, Jim Cromie <> wrote:
>>>> attached patch tells concise-xs.t that the new IO::Socket::blocking call
>>>> is a perl routine, not a constant one ( the default for IO::Socket tests
>>>> there).
>>>> This fixes one noisy failure I started seeing this morning.
>>> Thanks for that. Is there something I could have done in the
>>> IO::Socket patch to mean this wasnt necessary? Did I do something
>>> wrong?
>> No, you didn't : the B::Concise tests are extensively testing the
>> APIs to get a full range of cases to test on. So it needs sometimes
>> to be adjusted. That's expected.
what he said ;-)
concise-xs.t  checks selected namespaces for all their &routines,
so it picked up the new one you added. (hence the test ++).
The reason it failed the new test is cuz for IO::Socket,
the default &routine flavor is 'constant', which let me avoid enumerating
the biggest group (157/190) for each selected namespace.
It does mean that occasional touches are needed when those modules change.

> Ah, but next time i could provide a patch against blead, and then id
> know about it in advance. Thanks for the explanation.
which explains why you didnt see it.  (I did wonder)
Had I really suspected a flaw, I wouldnt have patched 1st ;-)
> :-)
> Yves
> --
> perl -Mre=debug -e "/just|another|perl|hacker/"

Thread Previous | Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About