X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2Fatomicity.py;h=389517e1571e0b6590d068ef9cc9c13a98b44a40;hb=8179c3d1146b6b19c64200f0617c4a1ba7588569;hp=1ca52b9c4f73aad5966e44e3dff8505b1d9e348f;hpb=45a0ab9e842e075fba6c30f303564e503e0cea99;p=notmuch diff --git a/test/atomicity.py b/test/atomicity.py index 1ca52b9c..389517e1 100644 --- a/test/atomicity.py +++ b/test/atomicity.py @@ -71,4 +71,8 @@ class RenameBreakpoint(gdb.Breakpoint): return False RenameBreakpoint('rename') -gdb.execute('run') +try: + gdb.execute('run') +except Exception: + import traceback + raise SystemExit(traceback.format_exc())