[crossfire] Unit tests

Alex Schultz alex_sch at telus.net
Tue Mar 7 17:16:57 CST 2006


Hmm, I was thinking it could be nice though if it could automatically 
generate core dumps for segfaulted unit tests, and continue to further 
unit tests after. That would need both forks and integrated per fork 
core dump capability, which that unit test framework doesn't appear to 
allow.

tchize wrote:

>It is said in documentation you can disable the fork if you need to run 
>debuggers on the unit test :) (This include generating a core i suppose)
>
>
>Le Mardi 7 Mars 2006 15:11, Alex Schultz a écrit :
>  
>
>>Tchize wrote:
>>    
>>
>>>check does fork(), it provide address space isolation, that mean a
>>>testcase doing a segfault will be marked as 'failed' but will not
>>>jeopardize running of other tests.
>>>      
>>>
>>I expected that it would mark tests as failed in those cases, but would
>>(be able to) it generate a core dump of the fork at the point of
>>segfault? Is this possible to add to it's existing framework?
>>
>>Alex Schultz
>>



More information about the crossfire mailing list