llvm-project/lldb/test
Johnny Chen fbc0d27144 Move the iteration protocol of lldb objects to the auto-generated lldb Python module.
This is so that the objects which support the iteration protocol are immediately obvious
from looking at the lldb.py file.

SBTarget supports two types of iterations: module and breakpoint.  For an SBTarget instance,
you will need to issue either:

    for m in target.module_iter()

or

    for b in target.breakpoint_iter()

For other single iteration protocol objects, just use, for example:

    for thread in process:
        ID = thread.GetThreadID()
        for frame in thread:
            frame.Disassemble()
            ....

llvm-svn: 130442
2011-04-28 21:31:18 +00:00
..
abbreviation_tests Update startstr argument of self.expect() to "a.out`sum(int, int)" to respond to recent change. 2011-04-25 17:40:47 +00:00
alias_tests Add a HideStdout() method to our TestBase class and call it from TestAbbreviations.py 2011-04-21 22:50:23 +00:00
arm_emulation Remove old emulation test data files. 2011-04-22 16:29:23 +00:00
array_types Change the rest of lldbutil.py's function names to all lower case formats to be consistent. 2011-04-27 17:43:07 +00:00
attic Move two files to the 'attic'. 2010-10-05 00:08:08 +00:00
bitfields Change the rest of lldbutil.py's function names to all lower case formats to be consistent. 2011-04-27 17:43:07 +00:00
breakpoint_command Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
breakpoint_conditions Convert some tests to use the SBProcess.LaunchSimple API requiring only args, envs, and cwd 2011-04-19 18:12:47 +00:00
breakpoint_ids Fix breakpoint id test to work with clang as well as gcc; added a few 2011-02-02 17:48:16 +00:00
breakpoint_ignore_count For lldbutil.py, Change a bunch of function names to all lower case formats to be consistent. 2011-04-25 23:38:13 +00:00
breakpoint_locations Change "breakpoint list" command to default to brief output rather than full output. 2011-02-04 22:59:41 +00:00
class_static Change the rest of lldbutil.py's function names to all lower case formats to be consistent. 2011-04-27 17:43:07 +00:00
class_types Change the rest of lldbutil.py's function names to all lower case formats to be consistent. 2011-04-27 17:43:07 +00:00
command_regex Make test_connect_remote() more robust by waiting on the server ready message 2011-04-22 21:47:07 +00:00
command_source Add a HideStdout() method to our TestBase class and call it from TestAbbreviations.py 2011-04-21 22:50:23 +00:00
conditional_break For lldbutil.py, Change a bunch of function names to all lower case formats to be consistent. 2011-04-25 23:38:13 +00:00
connect_remote We are only interested in logging the child's output to sys.stdout. 2011-04-22 21:56:22 +00:00
cpp For lldbutil.py, Change a bunch of function names to all lower case formats to be consistent. 2011-04-25 23:38:13 +00:00
dead-strip Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
enum_types Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
example Changed the test case class names to be noun-like instead of verb-like. 2010-09-01 19:59:58 +00:00
expression_command Change the rest of lldbutil.py's function names to all lower case formats to be consistent. 2011-04-27 17:43:07 +00:00
forward Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
foundation Change the rest of lldbutil.py's function names to all lower case formats to be consistent. 2011-04-27 17:43:07 +00:00
function_types Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
global_variables Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
hello_world Change the rest of lldbutil.py's function names to all lower case formats to be consistent. 2011-04-27 17:43:07 +00:00
help Print out a more meaningful exception message when/if CFBundleVersion matching failed. 2011-01-07 00:17:44 +00:00
inferior-crashing Change the rest of lldbutil.py's function names to all lower case formats to be consistent. 2011-04-27 17:43:07 +00:00
inlined_breakpoints Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
inlines Converted to Makefile.rules. 2010-08-24 20:54:26 +00:00
load_unload Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
logging Hopefully fix the last fallout of 'commands' to 'command' change. 2011-04-21 20:55:57 +00:00
macosx/universal Add new radar info for failed test. 2011-02-08 18:37:49 +00:00
make Add a test script for exercising the "taregt create", "target list", and "target select" commands. 2011-04-18 21:08:05 +00:00
namespace Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
objc Converted to use Makefile.rules. 2011-01-14 21:55:29 +00:00
objc-optimized Change the CFLAGS variable assignment operator to ?= (conditional variable assignment operator). 2011-03-04 18:31:00 +00:00
objc-stepping Change the rest of lldbutil.py's function names to all lower case formats to be consistent. 2011-04-27 17:43:07 +00:00
order Fix wrong test logic -- should pass "-s address" option to "image dump symtab" 2010-12-17 18:02:08 +00:00
pexpect-2.4 Add pexpect-2.4 (a pure Python module for controlling and automating other programs) to the test directory. 2011-03-11 20:13:06 +00:00
platform Modify test_process_list()'s expect sub-strings to be up-to-date. 2011-04-01 00:48:40 +00:00
plugins Fix another typo. 2011-02-11 00:07:26 +00:00
print-obj Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
process_launch Only print more debug out when self.TraceOn() returns True. 2011-04-19 19:21:19 +00:00
python_api Move the iteration protocol of lldb objects to the auto-generated lldb Python module. 2011-04-28 21:31:18 +00:00
recurse Added a recursive loop stress test for the unwinder. Not a real world test 2011-01-07 22:10:25 +00:00
set_values Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
settings General cleanup on the UserSettingsController stuff. There were 5 different 2011-04-19 22:32:36 +00:00
signal Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
signed_types Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
source-manager Add a test scenario for 'source list -b' which shows the line table locations from 2011-04-20 20:35:59 +00:00
stepping Add test cases for the scenario of selecting a frame index while stopped, and 2011-01-21 18:23:16 +00:00
stl Use self.TraceOn() API. 2011-04-19 22:32:57 +00:00
stop-hook Use self.TraceOn() API. 2011-04-20 22:01:48 +00:00
struct_types Change "breakpoint list" command to default to brief output rather than full output. 2011-02-04 22:59:41 +00:00
target Add a test script for exercising the "taregt create", "target list", and "target select" commands. 2011-04-18 21:08:05 +00:00
types Turns out that the test failure wrt: 2011-03-23 20:28:59 +00:00
unique-types Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
unittest2 o Added unittest2 which has added the new features in unittest for Python 2.7 2010-08-05 23:42:46 +00:00
unsigned_types Centralized a lot of the status information for processes, 2011-04-18 08:33:37 +00:00
Makefile Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
README-TestSuite Add the cmdline to invoke the Python profile reporting module. 2011-01-19 19:48:29 +00:00
blacklist.py Blacklisted testclass STLTestCase for a known crasher <rdar://problem/8837118>. 2011-01-08 01:37:33 +00:00
dotest.py Docstring. 2011-04-26 23:10:51 +00:00
lldbtest.py Change the rest of lldbutil.py's function names to all lower case formats to be consistent. 2011-04-27 17:43:07 +00:00
lldbutil.py Add a utility function smart_iter() which has knowledge of the getsize and the getelem 2011-04-27 21:44:09 +00:00