llvm-project/lldb
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
..
docs Minor copy edits. 2010-09-11 00:37:21 +00:00
examples Added the capability for the test driver to split the sys.stderr/sys.stdout into 2010-10-12 21:35:54 +00:00
include Added support for breakpoint conditions. I also had to separate the "run the expression" part of ClangFunction::Execute from the "Gather the expression result" so that in the case of the Breakpoint condition I can move the condition evaluation into the normal thread plan processing. 2010-10-14 23:45:03 +00:00
lib Patch from Jay Cornwall that modifies the LLDB "Host" layer to reuse more 2010-09-07 20:11:56 +00:00
lldb.xcodeproj Added support for breakpoint conditions. I also had to separate the "run the expression" part of ClangFunction::Execute from the "Gather the expression result" so that in the case of the Breakpoint condition I can move the condition evaluation into the normal thread plan processing. 2010-10-14 23:45:03 +00:00
resources Bumped versions to lldb-26 and debugserver-114 for a build. 2010-10-08 00:23:57 +00:00
scripts Wrap the file writing operations inside a with statement to simplify code. 2010-10-14 16:57:08 +00:00
source Added support for breakpoint conditions. I also had to separate the "run the expression" part of ClangFunction::Execute from the "Gather the expression result" so that in the case of the Breakpoint condition I can move the condition evaluation into the normal thread plan processing. 2010-10-14 23:45:03 +00:00
test This is an initial version of test driver enhanceent to be able to dump the 2010-10-15 01:18:29 +00:00
tools Fix some memory leaks. 2010-10-12 21:57:09 +00:00
www Clarified some caveats for thread format strings. 2010-10-04 03:06:05 +00:00
INSTALL.txt You'll need to be running Mac OS X to get lldb to build right now. 2010-06-09 07:29:26 +00:00
LICENSE.TXT test commit 2010-06-09 03:55:24 +00:00
Makefile Comment out test targets; they don't work on Linux because test/Makefile uses 2010-07-09 22:36:15 +00:00