summaryrefslogtreecommitdiffstats
path: root/lldb/test/functionalities/command_script/import/foo
Commit message (Collapse)AuthorAgeFilesLines
* Move lldb/test to lldb/packages/Python/lldbsuite/test.Zachary Turner2015-10-283-19/+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
* Add from __future__ import print_function everywhere.Zachary Turner2015-10-233-3/+9
| | | | | | | | | | | | | Apparently there were tons of instances I missed last time, I guess I accidentally ran 2to3 non-recursively. This should be every occurrence of a print statement fixed to use a print function as well as from __future__ import print_function being added to every file. After this patch print statements will stop working everywhere in the test suite, and the print function should be used instead. llvm-svn: 251121
* Fixing Python commands test cases to work even after removing PrintfEnrico Granata2013-03-303-3/+3
| | | | | | (and using the new syntax for printing :-) llvm-svn: 178389
* this patch introduces a new command script import command which takes as ↵Enrico Granata2011-10-173-0/+13
input a filename for a Python script and imports the module contained in that file. the containing directory is added to the Python path such that dependencies are honored. also, the module may contain an __lldb_init_module(debugger,dict) function, which gets called after importing, and which can somehow initialize the module's interaction with lldb llvm-svn: 142283
OpenPOWER on IntegriCloud