From: Igor F. <ro...@sk...> - 2018-03-09 03:26:43
|
EHLO i just hit a segfault on my tests and stated debugging... first i tried to run it inside gdb, but then it becomes a mess because it forks liek 300 times. then i tried to CK_FORK=no, but it makes good tests crash because they rely on fork() to isolate side effects. then i tried to manage teh forks inside gdb but its impossible. then i started to think about checking my fixtures and managing side effects myself, but i fear this is gonna be quite a lot of work and very error prone. finally i thought i could run just teh problematic unit test on CK_FORK=no, but i couldnt find a way to run just a _single unit test_, and to make things worse, its a loop test. so before refactoring more mistakes into my code, i thought it would be worth to ask here. could somebody give me a light on this matter? please? thank you! <3 -- Igor |