[Petal] broken tests?

Bridget Almas BAlmas at Ovid.com
Thu Aug 12 13:46:23 BST 2004


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:jhiver at mkdoc.com] 
Sent: Thursday, August 12, 2004 7:25 AM
To: Bridget Almas
Cc: petal at lists.webarch.co.uk
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...


More information about the Petal mailing list