[Avocado-devel] handling segfault of test process

Brian J. Murrell brian at interlinx.bc.ca
Thu Nov 15 15:17:24 UTC 2018


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 bindings to such a library)
that is in development and as such could segfault?

Cheers,
b.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/avocado-devel/attachments/20181115/471bda27/attachment.sig>


More information about the Avocado-devel mailing list