[Lldb-commits] [PATCH] D20193: test infra: catch bad decorators and import-time errors

Zachary Turner via lldb-commits lldb-commits at lists.llvm.org
Fri May 13 13:32:59 PDT 2016


zturner added a comment.

In lldbsuite\test_event\formatter\__init__.py, if I open the file with "wb"
instead of "w" I get further, but I still get other errors.  This might
create a problem because you conditionally set the output file to stderr or
stdout, which are opened for text already, so those will never work with
cPickle.dump().  Do you have any good idea how to fix that?

In any case, for now I've set it to "wb" and I'm getting further.  It's
returning results back to the unit test, but the results only contain a
begin and an end, but no error results.


http://reviews.llvm.org/D20193





More information about the lldb-commits mailing list