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())