[Lldb-commits] [Diffusion] rL234364: Fix stepping a virtual thread when the python operating system was enabled.

Greg Clayton clayborg at gmail.com
Thu Apr 9 10:55:02 PDT 2015


% ./dotest.py functionalities/plugins/python_os_plugin
LLDB library dir: /Volumes/work/gclayton/Documents/src/lldb/tot/build/Debug
LLDB import library dir: /Volumes/work/gclayton/Documents/src/lldb/tot/build/Debug
lldb-340.99.0
The 'lldb-mi' executable cannot be located.  Some of the tests may not be run as a result.
lldb.pre_flight: None
lldb.post_flight: None

Session logs for test failures/errors/unexpected successes will go into directory '2015-04-09-10_54_34'
Command invoked: ./dotest.py functionalities/plugins/python_os_plugin
compilers=['clang']

Configuration: arch=x86_64 compiler=clang
----------------------------------------------------------------------
Collected 3 tests

.=success F=fail E=error s=skipped x=expected-fail u=unexpected-success

...
----------------------------------------------------------------------
Ran 3 tests in 3.441s

OK

Works for me?

> On Apr 9, 2015, at 10:30 AM, Ilia K <ki.stfu at gmail.com> wrote:
> 
> Hello @clayborg,
> 
> This test doesn't work on OS X:
> 
>  ======================================================================
>  FAIL: test_python_os_step_dsym (TestPythonOSPlugin.PluginPythonOSPlugin)
>     Test that the Python operating system plugin works correctly when single stepping a virtual thread
>  ----------------------------------------------------------------------
>  Traceback (most recent call last):
>    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 710, in wrapper
>      func(*args, **kwargs)
>    File "/Users/IliaK/p/llvm/tools/lldb/test/lldbtest.py", line 462, in wrapper
>      return func(self, *args, **kwargs)
>    File "/Users/IliaK/p/llvm/tools/lldb/test/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py", line 34, in test_python_os_step_dsym
>      self.run_python_os_step()
>    File "/Users/IliaK/p/llvm/tools/lldb/test/functionalities/plugins/python_os_plugin/TestPythonOSPlugin.py", line 146, in run_python_os_step
>      self.assertTrue (thread.IsValid(), "Make sure there is a thread 0x111111111 after we load the python OS plug-in");
>  AssertionError: False is not True : Make sure there is a thread 0x111111111 after we load the python OS plug-in
>  Config=x86_64-clang
>  ----------------------------------------------------------------------
> 
> Thanks,
> Ilia
> 
> 
> http://reviews.llvm.org/rL234364
> 
> EMAIL PREFERENCES
>  http://reviews.llvm.org/settings/panel/emailpreferences/
> 
> 





More information about the lldb-commits mailing list