RE: broken tests?

Bridget Almas <[email protected]>
Newsgroups gmane.comp.lang.perl.modules.petal
Message-ID <555F2B7B278B5348A28F665E6B0E43A40935EE91@exchange-slc.ut.ovid.com>
As far as I can tell, the Petal installation works just fine (I'm not
exercising it too heavily though). If I comment out the "use Test::More" and
the like/unlike tests, the Petal test code also seems to work fine, so the
problem must be in the test libraries.  I am using the latest version of
Test::Simple (0.47) and Test::Harness (2.42).

Thanks,
Bridget

-----Original Message-----
From: Jean-Michel Hiver [mailto:[email protected]] 
Sent: Thursday, August 12, 2004 7:25 AM
To: Bridget Almas
Cc: [email protected]
Subject: Re: [Petal] broken tests?

Bridget Almas wrote:
> The only output is "Segmentation Fault(coredump)". Do you want to see the
> core file?

I have no idea how those beasts work...


> On test 031_Escape_Semicolon.t, it was the first unlike() test
> that was resulting in the core dump. I haven't narrowed it down further
than
> that.

OK... have you tried to just execute the test without any Petal stuff in 
it? Just to see wether the problem is in Petal or Test::More... If it's 
a problem with Test::More then Petal will /probably/ just work fine.

Is another version of Petal (i.e. 2.12) working OK? If so we need to do 
a diff to see what changed... what's the most recent version of Petal 
which passes all the tests OK?

I'm sorry the tests don't pass straight "out of the box". Petal is 
completely pure perl though, I don't see why it should core dump since 
I'm not doing too many crazy things. I'm not even fiddling around too 
much with the symbol table...
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.