[test] make expect_state_changes actually expect *only* them
authorPavel Labath <labath@google.com>
Thu, 14 Apr 2016 15:52:58 +0000 (15:52 +0000)
committerPavel Labath <labath@google.com>
Thu, 14 Apr 2016 15:52:58 +0000 (15:52 +0000)
commit7e49e3d97cd84ac5c758fd444788a33ac5171be0
treea6868334394d588db590776aea2717f901e001b1
parente6961d0306d0631bb9218d2c88a8ca657259eb35
[test] make expect_state_changes actually expect *only* them

The android dirty stderr problem has uncovered an issue where lldbutil.expect_state_changes was
reading events other than state change events, which resulted in general confusion. Make it more
strict to accept *only* state changes.

llvm-svn: 266327
lldb/packages/Python/lldbsuite/test/functionalities/attach_resume/TestAttachResume.py
lldb/packages/Python/lldbsuite/test/functionalities/thread/state/TestThreadStates.py
lldb/packages/Python/lldbsuite/test/lldbutil.py