Re: [Avocado-devel] handling segfault of test process

2018-11-18 Thread Lukáš Doktor
Dne 16. 11. 18 v 15:17 Brian J. Murrell napsal(a): > On Thu, 2018-11-15 at 10:17 -0500, Brian J. Murrell wrote: >> If I have a test class with a setUp(), test*() function(s) and a >> tearDown(), is it true that if some operation in a test*() function >> causes a segfault, tearDown() won't get run?

Re: [Avocado-devel] handling segfault of test process

2018-11-16 Thread Brian J. Murrell
On Thu, 2018-11-15 at 10:17 -0500, Brian J. Murrell wrote: > If I have a test class with a setUp(), test*() function(s) and a > tearDown(), is it true that if some operation in a test*() function > causes a segfault, tearDown() won't get run? This certainly seems to be the case. A quick test

[Avocado-devel] handling segfault of test process

2018-11-15 Thread Brian J. Murrell
If I have a test class with a setUp(), test*() function(s) and a tearDown(), is it true that if some operation in a test*() function causes a segfault, tearDown() won't get run? If this is true, what is the advise for writing/structuring tests that are testing, say, a library (through python