]> git.notmuchmail.org Git - notmuch/commit
test: atomicity.py: improve exit probability on failure
authorTomi Ollila <tomi.ollila@iki.fi>
Wed, 4 Jan 2017 14:53:47 +0000 (16:53 +0200)
committerDavid Bremner <david@tethera.net>
Fri, 10 Mar 2017 12:21:28 +0000 (08:21 -0400)
commitd6a735423b94fb1ad8c6c59fe3efde42aa8020cb
treec34faedb61b50adce8f766a920416dc12024280d
parentae05839028d59cbed09122752658543f68666423
test: atomicity.py: improve exit probability on failure

Some gdb python exceptions on some os environments (e.g. macOS
Sierra, non-codesigned gdb) do not make gdb exit (but to drop down
to nonexistent command line?).
Mitigate this chance by explict SystemExit on all exceptions.
The contents of output file 'gdb.out' is unchanged.
test/atomicity.py