[Lldb-commits] [PATCH] D12527: Address flakyness in TestAttachResume

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Tue Sep 1 07:21:45 PDT 2015


labath updated this revision to Diff 33689.
labath added a comment.

I've found another source or racyness in the test. The test verified that the process resumes and
stops after a "continue". However, if these two events happened two fast, the initial start event
would be lost, and the test would end up confused. I have implemented this in a safer manner and
made a utility function out of it, as I know of a couple of other tests which need the same
functionality.


http://reviews.llvm.org/D12527

Files:
  test/functionalities/attach_resume/TestAttachResume.py
  test/functionalities/attach_resume/main.cpp
  test/lldbutil.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12527.33689.patch
Type: text/x-patch
Size: 6181 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20150901/28d0e2a8/attachment.bin>


More information about the lldb-commits mailing list