llvm-project/lldb/test
Johnny Chen 150c3cc825 This is an initial version of test driver enhanceent to be able to dump the
session info after a test case failure, allowing more direct inspection of
debugger session which leads to the test failure.

For a simple usage scenario:

[18:06:26] johnny:/Volumes/data/lldb/svn/trunk/test $ ./dotest.py -v . 2> ~/Developer/Log/lldbtest.log 

...

[18:14:43] johnny:/Volumes/data/lldb/svn/trunk/test $ ls -l .session-*
-rw-r--r--  1 johnny  admin  1359 Oct 14 18:06 .session-TestArrayTypes.ArrayTypesTestCase.test_with_dwarf_and_run_command
-rw-r--r--  1 johnny  admin  2054 Oct 14 18:07 .session-TestClassTypes.ClassTypesTestCase.test_with_dsym_and_expr_parser
-rw-r--r--  1 johnny  admin  2055 Oct 14 18:07 .session-TestClassTypes.ClassTypesTestCase.test_with_dwarf_and_expr_parser
-rw-r--r--  1 johnny  admin  1351 Oct 14 17:57 .session-TestClassTypes.ClassTypesTestCase.test_with_dwarf_and_run_command
[18:14:51] johnny:/Volumes/data/lldb/svn/trunk/test $ 

The test case which failed will have its recorded session info dumped to a
.session-* file in the current working directory.  For test suite using
relocated directory, expect to find the .session-* files there.

In this checkin, I also add @skip decorator to the two test methods in
test/foundation/TestObjCMethods.py as it looks like the test suite is
deadlocking when running the tests.  More investigations are needed.

llvm-svn: 116552
2010-10-15 01:18:29 +00:00
..
array_types Fixed an expression parsing issue where if you were stopped somewhere without 2010-10-14 22:52:14 +00:00
attic Move two files to the 'attic'. 2010-10-05 00:08:08 +00:00
bitfields Fixed an expression parsing issue where if you were stopped somewhere without 2010-10-14 22:52:14 +00:00
breakpoint_command Make calling the super class's setUp() method less fragile. 2010-10-14 17:31:24 +00:00
breakpoint_locations Make calling the super class's setUp() method less fragile. 2010-10-14 17:31:24 +00:00
class_static A few modifications to the class arrays test case. 2010-09-13 02:31:18 +00:00
class_types Make calling the super class's setUp() method less fragile. 2010-10-14 17:31:24 +00:00
command_source Changed the test case class names to be noun-like instead of verb-like. 2010-09-01 19:59:58 +00:00
conditional_break Update do_conditional_break() method impl to use all lldb Python APIs. 2010-10-08 22:51:03 +00:00
dead-strip The 'thread list' command no longer displays the file:lineno after the recent check-in. 2010-10-04 16:23:16 +00:00
enum_types Make calling the super class's setUp() method less fragile. 2010-10-14 17:31:24 +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
forward Apply (query-replace "frame variable" "frame variable -t") and fix a comment about 'expr var', 2010-10-13 19:22:50 +00:00
foundation This is an initial version of test driver enhanceent to be able to dump the 2010-10-15 01:18:29 +00:00
function_types Make calling the super class's setUp() method less fragile. 2010-10-14 17:31:24 +00:00
global_variables Make calling the super class's setUp() method less fragile. 2010-10-14 17:31:24 +00:00
hello_world Clean up the StateType and StopReason enums now that they reside in the lldb module. 2010-10-07 16:51:56 +00:00
help o TestStdCXXDisassembly.py: 2010-10-08 17:21:27 +00:00
inlines Converted to Makefile.rules. 2010-08-24 20:54:26 +00:00
load_unload Remove file:lineno from the expected substrings. Matching 'a_function, i.e., 2010-10-04 16:58:16 +00:00
macosx/universal Make calling the super class's setUp() method less fragile. 2010-10-14 17:31:24 +00:00
make Stop using LLDB_CC/LLDB_ARCH in the plugins for test configurations. Use make 2010-09-30 17:11:58 +00:00
namespace Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
objc Added an objective C test that creates some NSString, NSArray and NSDictionary 2010-09-07 23:55:31 +00:00
order Test order file with both dsym and dwarf combination. 2010-09-14 22:55:48 +00:00
persistent_variables Modification of the expected start strings for simple 'expr' output involving persistent variables. 2010-10-06 19:38:08 +00:00
plugins Added the capability for the test driver to relocate the tests and the intermediate 2010-10-11 22:25:46 +00:00
print-obj Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
set_values Make calling the super class's setUp() method less fragile. 2010-10-14 17:31:24 +00:00
settings Wrap the rest of file reading operations inside a with block and convert a assertTrue() 2010-10-08 22:10:42 +00:00
signal Make calling the super class's setUp() method less fragile. 2010-10-14 17:31:24 +00:00
signed_types Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
stl Make calling the super class's setUp() method less fragile. 2010-10-14 17:31:24 +00:00
struct_types Make calling the super class's setUp() method less fragile. 2010-10-14 17:31:24 +00:00
threads Move the enum to string utility functions from lldbtest.py to lldbuti.py and 2010-10-07 22:15:58 +00:00
types Fix these comments and the commented out code about 'frame variable -t', too. 2010-10-13 19:25:42 +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 Make calling the super class's setUp() method less fragile. 2010-10-14 17:31:24 +00:00
Makefile Initial checkin of lldb code from internal Apple repo. 2010-06-08 16:52:24 +00:00
README-TestSuite Move two files to the 'attic'. 2010-10-05 00:08:08 +00:00
dotest.py This is an initial version of test driver enhanceent to be able to dump the 2010-10-15 01:18:29 +00:00
lldbtest.py This is an initial version of test driver enhanceent to be able to dump the 2010-10-15 01:18:29 +00:00
lldbutil.py This is an initial version of test driver enhanceent to be able to dump the 2010-10-15 01:18:29 +00:00