Re: New version of Test::LongString

2004-12-09 Thread David Wheeler
On Dec 9, 2004, at 1:48 PM, Rafael Garcia-Suarez wrote: It's probably better adapted to text pages. I wrote Test::LongString to debug and test a serialization/deserialization protocol that was producing long binary strings. For this purpose, it was most helpful :) Ah, yeah. Test::Differences is lin

Re: New version of Test::LongString

2004-12-09 Thread Rafael Garcia-Suarez
David Wheeler wrote in perl.qa : >> Test::LongString is one of those modules that you should be using if >> you're doing testing against large data elements, especially web pages. >> There are now examples in the docs that I hope make you say "Wow, this >> is cool, thanks RGS!" > > I use Text::Diff

Re: Devel::Cover error from Storable

2004-12-09 Thread Steve Peters
On Thu, Dec 09, 2004 at 09:34:18AM -0800, Kevin Scaldeferri wrote: > My unit test suite recently started spitting out this error when run > under Devel::Cover. It runs normally and successfully without. Has > anyone seen this before: > > > Magic number checking on storable file failed at ..

Re: Devel::Cover error from Storable

2004-12-09 Thread Kevin Scaldeferri
On Dec 9, 2004, at 2:32 PM, Paul Johnson wrote: On Thu, Dec 09, 2004 at 02:06:39PM -0800, Kevin Scaldeferri wrote: My latest theory was that my forked processes were stomping on each other and corrupting the stored data structure. So I replaced the calls to nstore and retrieve with lock_nstore and

Re: Devel::Cover error from Storable

2004-12-09 Thread Paul Johnson
On Thu, Dec 09, 2004 at 02:06:39PM -0800, Kevin Scaldeferri wrote: > My latest theory was that my forked processes were stomping on each > other and corrupting the stored data structure. So I replaced the > calls to nstore and retrieve with lock_nstore and lock_retrieve in > DB.pm and Structur

Re: Devel::Cover error from Storable

2004-12-09 Thread Kevin Scaldeferri
On Dec 9, 2004, at 11:21 AM, Paul Johnson wrote: Whether this is related to your main problem I can't tell, though I have have seen that warning plenty of times before but never encountered your main problem. Yeah, it's probably unrelated. My latest theory was that my forked processes were stomp

Re: Devel::Cover error from Storable

2004-12-09 Thread Tels
-BEGIN PGP SIGNED MESSAGE- Moin, On Thursday 09 December 2004 19:16, Kevin Scaldeferri wrote: > On Dec 9, 2004, at 9:50 AM, Steve Peters wrote: > > On Thu, Dec 09, 2004 at 09:34:18AM -0800, Kevin Scaldeferri wrote: > >> My unit test suite recently started spitting out this error when run

Re: Devel::Cover error from Storable

2004-12-09 Thread Paul Johnson
On Thu, Dec 09, 2004 at 11:07:21AM -0800, Kevin Scaldeferri wrote: > Running some of the tests outside of the harness though, I see a couple > more messages which were hidden before: > > Devel::Cover: Can't find file "../../lib/Storable.pm": ignored. > > I'm pretty confused about where that's c

Re: Devel::Cover error from Storable

2004-12-09 Thread Kevin Scaldeferri
On Dec 9, 2004, at 10:16 AM, Kevin Scaldeferri wrote: Hmm... if there were two versions of Storable installed, and Devel::Cover initially found one, and then later IPC::Shareable somehow caused the other to be loaded instead, that might cause this... I will go investigate that possibility. No

Re: Devel::Cover error from Storable

2004-12-09 Thread Kevin Scaldeferri
On Dec 9, 2004, at 9:50 AM, Steve Peters wrote: On Thu, Dec 09, 2004 at 09:34:18AM -0800, Kevin Scaldeferri wrote: My unit test suite recently started spitting out this error when run under Devel::Cover. It runs normally and successfully without. Has anyone seen this before: Magic number checking

Re: New version of Test::LongString

2004-12-09 Thread David Wheeler
On Dec 9, 2004, at 7:22 AM, Andy Lester wrote: Test::LongString is one of those modules that you should be using if you're doing testing against large data elements, especially web pages. There are now examples in the docs that I hope make you say "Wow, this is cool, thanks RGS!" I use Text::Differ

Devel::Cover error from Storable

2004-12-09 Thread Kevin Scaldeferri
My unit test suite recently started spitting out this error when run under Devel::Cover. It runs normally and successfully without. Has anyone seen this before: Magic number checking on storable file failed at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_retrieve.al) line

New version of Test::LongString

2004-12-09 Thread Andy Lester
RGS has just released a new version of Test::LongString with patches I made last night. I added a new function contains_string(), and lots more docs. Test::LongString is one of those modules that you should be using if you're doing testing against large data elements, especially web pages. There

RE: C implementation of Test::Harness' TAP protocol

2004-12-09 Thread Clayton, Nik
> --- "Clayton, Nik" wrote: > > Any "Writing thread safe libraries for dummies" texts you > > could point me at? > > I recommend "Programming with POSIX Threads" by David Butenhof. Thanks. > Re the varargs ok() business, I assume you'll be using some sort of > config.h with your libtap library

Re: Devel::Cover cover command uses to much memory

2004-12-09 Thread Jason Remillard
Hi, On Wed, 8 Dec 2004 13:37:14 -0500, "Michael G Schwern" <[EMAIL PROTECTED]> said: > On Tue, Dec 07, 2004 at 07:21:09PM -0800, Jason Remillard wrote: > > I ran the codestriker (http://codestriker.sourceforge.net/) test set > > using Devel::Cover. The test cases ran over a day and a half > > and