summaryrefslogtreecommitdiffstats
path: root/lldb/test/lldb_pylint_helper.py
Commit message (Collapse)AuthorAgeFilesLines
* Move lldb/test to lldb/packages/Python/lldbsuite/test.Zachary Turner2015-10-281-163/+0
| | | | | | | | | | | This is the conclusion of an effort to get LLDB's Python code structured into a bona-fide Python package. This has a number of benefits, but most notably the ability to more easily share Python code between different but related pieces of LLDB's Python infrastructure (for example, `scripts` can now share code with `test`). llvm-svn: 251532
* Convert print statements to print function calls.Zachary Turner2015-10-191-1/+4
| | | | | | | | | This patch was generating by running `2to3` on the files in the lldb/test directory. This patch should be NFC, but it does introduce the `from __future__ import print_function` line, which will break future uses of the print statement. llvm-svn: 250763
* Fixup previous commit.Todd Fiala2015-10-151-3/+2
| | | | | | Looks like I blasted something into my editor... llvm-svn: 250454
* Modify pylint/flake8 path helper to add lldb python module to path.Todd Fiala2015-10-151-0/+69
| | | | | | | | | | | | It was adding all the test infrastructure paths properly, but it was not adding the lldb module. The current approach only adds the lldb from the path. That can be improved (in the comments) to add the one from the related build directory if it can be ascertained. With this change, lldb tests can be run through pylint/flake8 and have the lldb module found and used as part of the checks. llvm-svn: 250453
* Added python script to support running pylint.Todd Fiala2015-09-261-0/+92
See the script comments for how to modify your pylintrc file (e.g. $HOME/.pylintrc) to support always finding the lldb-specific Python library directories. With the pylintrc modification using this script, the lldb python tests and test inferstructure can be linted on any of potentially multiple lldb source trees on the system without further work from the developer. llvm-svn: 248676
OpenPOWER on IntegriCloud