llvm-project/lldb/test
Johnny Chen b877f1efe9 Add a test directory stop-hook to test the newly added "target stop-hook" command.
This uses pexpect module to spawn a 'lldb' program and uses pseudo-TTY to talk to
the child application.

The test cases test setting breakpoints, adding a stop-hook with line range, and
verifies that when the inferior stops, the stop-hook will fire off when it is
within range and will not fire off when it is out of range.

llvm-svn: 127519
2011-03-12 01:18:19 +00:00
..
abbreviation_tests - Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting 2011-02-19 02:53:09 +00:00
alias_tests - Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting 2011-02-19 02:53:09 +00:00
array_types Change "breakpoint list" command to default to brief output rather than full output. 2011-02-04 22:59:41 +00:00
attic Move two files to the 'attic'. 2010-10-05 00:08:08 +00:00
bitfields Change "breakpoint list" command to default to brief output rather than full output. 2011-02-04 22:59:41 +00:00
breakpoint_command - Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting 2011-02-19 02:53:09 +00:00
breakpoint_conditions Add TestTargetAPI.py: 2011-03-03 01:41:57 +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 Add TestTargetAPI.py: 2011-03-03 01:41:57 +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 Modify test scripts to accomodate SBTarget.Launch() API change. 2011-02-03 23:15:53 +00:00
class_types Change "breakpoint list" command to default to brief output rather than full output. 2011-02-04 22:59:41 +00:00
command_source Add "import sys" for sys.stdout. 2011-01-28 20:59:39 +00:00
conditional_break - Changed all the places where CommandObjectReturn was exporting a StreamString to just exporting 2011-02-19 02:53:09 +00:00
connect_remote Add an expectedFailure decorator to the test_connect_remote() test case. 2011-03-08 23:35:45 +00:00
cpp/virtual Add TestVirtual.py to go with test/cpp/virtual/main.cpp file, which tests 2011-02-01 01:23:34 +00:00
dead-strip Change "breakpoint list" command to default to brief output rather than full output. 2011-02-04 22:59:41 +00:00
enum_types Change "breakpoint list" command to default to brief output rather than full output. 2011-02-04 22:59:41 +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 Modify test scripts to accomodate SBTarget.Launch() API change. 2011-02-03 23:15:53 +00:00
forward Change "breakpoint list" command to default to brief output rather than full output. 2011-02-04 22:59:41 +00:00
foundation Call self.setTearDownCleanup() and pass a proper dictionay to properly cleanup 2011-02-25 23:22:59 +00:00
function_types Change "breakpoint list" command to default to brief output rather than full output. 2011-02-04 22:59:41 +00:00
global_variables Change "breakpoint list" command to default to brief output rather than full output. 2011-02-04 22:59:41 +00:00
hello_world Modify test scripts to accomodate SBTarget.Launch() API change. 2011-02-03 23:15:53 +00:00
help Print out a more meaningful exception message when/if CFBundleVersion matching failed. 2011-01-07 00:17:44 +00:00
inlined_breakpoints Add a test case for a bug fixed: 2010-11-02 19:46:35 +00:00
inlines Converted to Makefile.rules. 2010-08-24 20:54:26 +00:00
load_unload Change "breakpoint list" command to default to brief output rather than full output. 2011-02-04 22:59:41 +00:00
logging Add the ability for the test suite to specify a list of compilers and a list of architectures 2011-03-04 01:35:22 +00:00
macosx/universal Add new radar info for failed test. 2011-02-08 18:37:49 +00:00
make Minor comment change. 2011-01-28 17:22:29 +00:00
namespace Uncomment the two failed 'expression' commands regarding fully qualified namespace variables. 2010-12-23 23:26:05 +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 Modify test scripts to accomodate SBTarget.Launch() API change. 2011-02-03 23:15:53 +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
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 Add docstrings for unittest framework's test methods. 2011-03-04 19:47:52 +00:00
python_api Add test cases to exercise the SBThread.GetProcess() API. We launch the process using the 2011-03-11 01:16:03 +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 Change "breakpoint list" command to default to brief output rather than full output. 2011-02-04 22:59:41 +00:00
settings Add a test case to make sure that all the settings that currently ought to 2011-03-10 22:29:54 +00:00
signal Change "breakpoint list" command to default to brief output rather than full output. 2011-02-04 22:59:41 +00:00
signed_types Change "breakpoint list" command to default to brief output rather than full output. 2011-02-04 22:59:41 +00:00
source-manager Add the ability for the test suite to specify a list of compilers and a list of architectures 2011-03-04 01:35:22 +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 Change "breakpoint list" command to default to brief output rather than full output. 2011-02-04 22:59:41 +00:00
stop-hook Add a test directory stop-hook to test the newly added "target stop-hook" command. 2011-03-12 01:18:19 +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
threads Fix clang++ warning building the executable for testing. 2011-02-16 19:22:52 +00:00
types On second thought, inserting a delay of 1.0 second slows down the test suite 2010-12-02 18:03: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 Change "breakpoint list" command to default to brief output rather than full output. 2011-02-04 22:59:41 +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 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
lldbtest.py Add a test directory stop-hook to test the newly added "target stop-hook" command. 2011-03-12 01:18:19 +00:00
lldbutil.py Add test cases for Python SBThread.StepOut() API by stepping out of a malloc call where the call site is at function b(). 2011-03-09 23:45:56 +00:00