summaryrefslogtreecommitdiffstats
path: root/clang/lib/Sema/SemaDecl.cpp
diff options
context:
space:
mode:
authorJohnny Chen <johnny.chen@apple.com>2010-10-15 01:18:29 +0000
committerJohnny Chen <johnny.chen@apple.com>2010-10-15 01:18:29 +0000
commit150c3cc8252e4c1f6367eab57b8ca3b50c10b0da (patch)
tree6bc8ebb24ef28af2823eb9a7d3bbe329239d2ffd /clang/lib/Sema/SemaDecl.cpp
parentb048402073561ba28df4db691b0752c4998cc814 (diff)
downloadbcm5719-llvm-150c3cc8252e4c1f6367eab57b8ca3b50c10b0da.tar.gz
bcm5719-llvm-150c3cc8252e4c1f6367eab57b8ca3b50c10b0da.zip
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
Diffstat (limited to 'clang/lib/Sema/SemaDecl.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud