[Lldb-commits] [PATCH] D83874: [lldb] Print the exception traceback when hitting cleanup errors
Raphael Isemann via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Mon Aug 17 00:54:27 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG24fc3177c176: [lldb] Print the exception traceback when hitting cleanup errors (authored by teemperor).
Herald added a project: LLDB.
Herald added a subscriber: lldb-commits.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83874/new/
https://reviews.llvm.org/D83874
Files:
lldb/packages/Python/lldbsuite/test/test_result.py
Index: lldb/packages/Python/lldbsuite/test/test_result.py
===================================================================
--- lldb/packages/Python/lldbsuite/test/test_result.py
+++ lldb/packages/Python/lldbsuite/test/test_result.py
@@ -9,6 +9,7 @@
# System modules
import os
+import traceback
# Third-party modules
import unittest2
@@ -228,8 +229,8 @@
if method:
method()
self.stream.write(
- "CLEANUP ERROR: LLDB (%s) :: %s\n" %
- (self._config_string(test), str(test)))
+ "CLEANUP ERROR: LLDB (%s) :: %s\n%s\n" %
+ (self._config_string(test), str(test), traceback.format_exc()))
def addFailure(self, test, err):
if (self.checkExclusion(
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D83874.285929.patch
Type: text/x-patch
Size: 742 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20200817/174329ef/attachment.bin>
More information about the lldb-commits
mailing list