[Lldb-commits] [PATCH] D12327: Treat cleanup errors separately from test failures

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Tue Aug 25 11:45:56 PDT 2015


zturner created this revision.
zturner added reviewers: clayborg, spyffe.
zturner added a subscriber: lldb-commits.

There is a certain class of test failures that arise as a result of errors that occur during cleanup.  For the most part, these don't indicate test failures and so it's useful to distinguish them from test failures.  This patch creates a new category of error, called a CleanupError, that is handled (and reported) independently of whether or not any individual tests failed.

This is especially important when there is a directory that contains multiple test suites, because previously a cleanup error on the first suite would automatically cause subsequent suites in the same directory to not run, as a result of exception propagation.

http://reviews.llvm.org/D12327

Files:
  test/dotest.py
  test/lldbtest.py
  test/unittest2/case.py
  test/unittest2/result.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12327.33096.patch
Type: text/x-patch
Size: 4804 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150825/64ee48fa/attachment.bin>


More information about the lldb-commits mailing list