[Lldb-commits] [lldb] r221402 - Allow inline test case to register actually useful teardown hooks by allowing a hook to be passed back the test instance, were it not to be already bound to self. Use this ability to make the reversal of escape-non-printables a teardown hook for added reliability of the testing logic

Ed Maste emaste at freebsd.org
Mon Nov 10 12:36:24 PST 2014


On 10 November 2014 14:43, Enrico Granata <egranata at apple.com> wrote:
> Sending        lldbtest.py
> Transmitting file data .
> Committed revision 221624.
>
> This should fix it

Thanks Enrico, that looks better except for one new issue:

ERROR: test_with_dwarf (lldbinline.TestStringPrinter)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 1661,
in tearDown
    Base.tearDown(self)
  File "/tank/emaste/src/llvm/tools/lldb/test/lldbtest.py", line 1042,
in tearDown
    if hook_argc == 0 or hook.im_self:
AttributeError: 'function' object has no attribute 'im_self'
Config=x86_64-/usr/bin/clang
----------------------------------------------------------------------
Ran 2 tests in 1.941s



More information about the lldb-commits mailing list