[Lldb-commits] [PATCH] D15233: Make TestThreadStates more stable

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 4 08:46:49 PST 2015


labath created this revision.
labath added a reviewer: clayborg.
labath added a subscriber: lldb-commits.

Because of the large number of XFAILs TestThreadStates has decayed quite a bit. This commit does
the following:
- removes the "breakpoint list" expectations. Most tests have been failing on this, because the
  command output changed quite a while back. I remove it, because run_break_set_by_file_and_line
  already does a decent amount of checking
- fixup test_state_after_expression: this was calling the wrong function by mistake. As now the
  function actually tests something (which we know is broken), I needed to XFAIL it as well.
- replaces the sleep() with a proper wait-for-event functionality in parts which use async mode,
  to stabilize the one function that actually tests something.

http://reviews.llvm.org/D15233

Files:
  packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D15233.41885.patch
Type: text/x-patch
Size: 5516 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-commits/attachments/20151204/49533cd2/attachment-0001.bin>


More information about the lldb-commits mailing list