[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:21:43 PDT 2016


Traceback (most recent call last):
  File "D:\src\llvm\tools\lldb\test\dotest.py", line 7, in <module>
    lldbsuite.test.run_suite()
  File "D:\src\llvm\tools\lldb\packages\Python\lldbsuite\test\dotest.py",
line 897, in run_suite
    setupTestResults()
  File "D:\src\llvm\tools\lldb\packages\Python\lldbsuite\test\dotest.py",
line 481, in setupTestResults
    formatter_spec.formatter.handle_event(initialize_event)
  File
"D:\src\llvm\tools\lldb\packages\Python\lldbsuite\test_event\formatter\pickled.py",
line 72, in handle_event
    self.serializer.serialize(test_event, self.out_file)
  File
"D:\src\llvm\tools\lldb\packages\Python\lldbsuite\test_event\formatter\pickled.py",
line 45, in serialize
    cPickle.dump(test_event, out_file)
TypeError: write() argument must be str, not bytes
Press any key to continue . . .

On Fri, May 13, 2016 at 1:18 PM Zachary Turner <zturner at google.com> wrote:

> zturner added a comment.
>
> I'm looking into a little bit.  Currently I'm seeing that the temporary
> events file is completely empty.  I can run the same command line that
> we're using in the subprocess.call() line, where in the code should I be
> looking to see events getting written to the file?
>
>
> http://reviews.llvm.org/D20193
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20160513/3df5311e/attachment-0001.html>


More information about the lldb-commits mailing list