[lldb-dev] Running lldb tests?
Zachary Turner via lldb-dev
lldb-dev at lists.llvm.org
Wed Dec 2 14:41:00 PST 2015
1) Python 2.7.10 is still the officially supported way to run tests for all
2) Python 3 is only supported for Windows and it's experimental.
3) At some point I will drop support for 2.x on Windows, but 2.x will
always be the officially supported way to run tests on every other platform.
Are you running lldb/test/dotest.py or
lldb/packages/lldbsuite/test/dotest.py? You should be running the former.
The `progress` module is located in
lldb/third_party/Python/module/progress. That should be in your `sys.path`
because when you run `lldb/test/dotest.py` the first line calls `import
use_lldb_suite`, which modifies `sys.path` to contain this and a few other
Hopefully that gives you a starting point to diagnose what's wrong.
On Wed, Dec 2, 2015 at 2:35 PM Chuck Ries via lldb-dev <
lldb-dev at lists.llvm.org> wrote:
> I am trying to run the lldb tests with dotest.py but it is failing with
> chuckr-mac-build:test chuckr$ python ./dotest.py
> Traceback (most recent call last):
> File "./dotest.py", line 30, in <module>
> import progress
> ImportError: No module named progress
> It looks like some work was done to move to python 3 and I am using Python
> 2.7.10. The info at http://lldb.llvm.org/test.html does not seem to be up
> to date. Is there any fix to get the test script working?
> lldb-dev mailing list
> lldb-dev at lists.llvm.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev