[Lldb-commits] [PATCH] D15241: Simplify TestThreadSpecificBreakpoint.py

Jim Ingham via lldb-commits lldb-commits at lists.llvm.org
Fri Dec 4 12:06:06 PST 2015


jingham requested changes to this revision.
jingham added a comment.
This revision now requires changes to proceed.

This test passes for me on OS X before the patch, but fails after it with the error:




FAIL: test_python_dsym (TestThreadSpecificBreakpoint.ThreadSpecificBreakTestCase)

  Test that we obey thread conditioned breakpoints.

----------------------------------------------------------------------

Traceback (most recent call last):

  File "/Volumes/ThePlayground/Users/jingham/Work/LLDB/llvm-svn/lldb-working/packages/Python/lldbsuite/test/lldbtest.py", line 550, in wrapper
    return func(self, *args, **kwargs)
  File "/Volumes/ThePlayground/Users/jingham/Work/LLDB/llvm-svn/lldb-working/packages/Python/lldbsuite/test/lldbtest.py", line 2288, in dsym_test_method
    return attrvalue(self)
  File "/Volumes/ThePlayground/Users/jingham/Work/LLDB/llvm-svn/lldb-working/packages/Python/lldbsuite/test/lldbtest.py", line 636, in wrapper
    func(*args, **kwargs)
  File "/Volumes/ThePlayground/Users/jingham/Work/LLDB/llvm-svn/lldb-working/packages/Python/lldbsuite/test/lldbtest.py", line 636, in wrapper
    func(*args, **kwargs)
  File "/Volumes/ThePlayground/Users/jingham/Work/LLDB/llvm-svn/lldb-working/packages/Python/lldbsuite/test/lldbtest.py", line 636, in wrapper
    func(*args, **kwargs)
  File "/Volumes/ThePlayground/Users/jingham/Work/LLDB/llvm-svn/lldb-working/packages/Python/lldbsuite/test/lldbtest.py", line 781, in wrapper
    func(*args, **kwargs)
  File "/Volumes/ThePlayground/Users/jingham/Work/LLDB/llvm-svn/lldb-working/packages/Python/lldbsuite/test/functionalities/thread/thread_specific_break/TestThreadSpecificBreakpoint.py", line 67, in test_python
    self.assertEqual(stopped_threads[0].GetThreadID(), main_thread_id, "thread breakpoint stopped at the wrong thread")

AssertionError: 3452873 != 3452831 : thread breakpoint stopped at the wrong thread
Config=x86_64-clang


http://reviews.llvm.org/D15241





More information about the lldb-commits mailing list