[lldb-dev] Trouble running Python tests on Windows

Alexandre Ganea via lldb-dev lldb-dev at lists.llvm.org
Fri May 31 08:42:03 PDT 2019


I can't seem to run the lldb python tests on my Windows 10 setup. I use the following cmd-line to generate:


Followed by: ninja check-all, which ends up in a bunch of:

******************** TEST 'lldb-Suite :: tools/lldb-server/TestAppleSimulatorOSType.py' FAILED ********************
Unable to find 'RESULT: PASSED' in dotest output:

lldb version 9.0.0 (https://aganea@llvm.org/svn/llvm-project/lldb/trunk revision 361826)
  clang revision 361826
  llvm revision 361826
LLDB library dir: F:\svn\buildninja\bin
LLDB import library dir: F:\svn\buildninja\bin\..\lib
Traceback (most recent call last):
  File "F:/svn/lldb/test/dotest.py", line 7, in <module>
  File "F:\svn\lldb\packages\Python\lldbsuite\test\dotest.py", line 1243, in run_suite
    import lldb
  File "F:\svn\buildninja\lib\site-packages\lldb\__init__.py", line 1500, in <module>
    class SBAddress(object):
  File "F:\svn\buildninja\lib\site-packages\lldb\__init__.py", line 1675, in SBAddress
    __swig_getmethods__["module"] = GetModule
NameError: name '__swig_getmethods__' is not defined

Swig 4.0.0 is there in %PATH%. I'm using MSVC 19.16.27031.1 for compiling. I've tried with Clang 8.0, same issues.
Any idea on what could be missing?

Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20190531/a6b33079/attachment.html>

More information about the lldb-dev mailing list