Caroline Tice
79042b3e93
Change "breakpoint list" command to default to brief output rather than full output.
...
Modify test cases in test suite to either expect brief output or to pass -f for full
output as appropriate.
llvm-svn: 124905
2011-02-04 22:59:41 +00:00
Johnny Chen
0c724effb8
The StateType representation has been changed. Modify the test cases to accommodate.
...
llvm-svn: 116705
2010-10-18 15:44:42 +00:00
Johnny Chen
33e1313a01
The 'thread list' command no longer displays the file:lineno after the recent check-in.
...
Remove file:lineno from the expected substrings.
llvm-svn: 115512
2010-10-04 16:23:16 +00:00
Johnny Chen
57b47384cc
Added comments regarding the two mechanisms of process cleanup to lldbtest.py.
...
Also changed the expected strings to be matched since "thread list" changed its
output format.
llvm-svn: 112880
2010-09-02 22:25:47 +00:00
Johnny Chen
cbb4be0c93
Changed the test case class names to be noun-like instead of verb-like.
...
llvm-svn: 112732
2010-09-01 19:59:58 +00:00
Johnny Chen
11c34a0488
Converted TestDeadStrip.py to Dsym/Dwarf combination.
...
llvm-svn: 112670
2010-08-31 23:12:15 +00:00
Johnny Chen
5ee881948a
Added a test case test_breakpoint_creation_by_filespec_python() which creates a
...
breakpoint by FileSpec and line number and exercises some FileSpec APIs.
Also, RUN_STOPPED is a bad assert name, RUN_SUCCEEDED is better.
llvm-svn: 112327
2010-08-27 23:47:36 +00:00
Johnny Chen
617cca957e
Converted some more test cases to use runCmd()/expect().
...
llvm-svn: 111652
2010-08-20 17:04:20 +00:00
Johnny Chen
0c19186352
Added more informational assert message strings.
...
llvm-svn: 111536
2010-08-19 18:17:48 +00:00
Johnny Chen
e76896c987
Specify a more meaningful assert message for TestDeadStrip.py.
...
llvm-svn: 111294
2010-08-17 21:33:31 +00:00
Johnny Chen
6ca006c7c1
Factored the "continue" command execution of the inferior process as part of the
...
cleanup before finish into the test fixture in lldbtest.TestBase.tearDown().
Derivatives of TestBase is responsible for setting self.runStarted to True if an
inferior process has been started.
llvm-svn: 111188
2010-08-16 21:28:10 +00:00
Johnny Chen
1794184ada
Modified the remaining test cases to display more meaningful assert messages.
...
Added a generic message generator to the lldbtest.py base module.
llvm-svn: 110625
2010-08-09 23:44:24 +00:00
Johnny Chen
73258830f3
o Added unittest2 which has added the new features in unittest for Python 2.7
...
backported to Python 2.3+. Some of the features desired include better
verbose reporting in unittest2.TextTestRunner and decorator support for
skipping tests and expected failures.
http://pypi.python.org/pypi/unittest2
o Modified the existing .py tests to use unittest2 and decorated
TestSTL.test_step_into_stl(), which is known to always fail currently, with
@unittest2.expectedFailure.
llvm-svn: 110397
2010-08-05 23:42:46 +00:00
Johnny Chen
a21249597e
When running a single test case, lldb.SBDebugger.Terminate() is not being called
...
because unittest.main() calls sys.exit() before returning. Fixed by registering
an exit handler for this situation.
llvm-svn: 110379
2010-08-05 21:23:45 +00:00
Johnny Chen
49583c207f
Fixed typos from cut-and-paste errors.
...
llvm-svn: 109539
2010-07-27 20:59:06 +00:00
Johnny Chen
51991b549b
Enable a test clause since rdar://problem/8163668 is fixed by http://llvm.org/viewvc/llvm-project?rev=107729&view=rev .
...
llvm-svn: 107733
2010-07-06 23:41:17 +00:00
Johnny Chen
0e38f42f0a
Test that breakpoint works correctly in the presence of dead-code stripping.
...
llvm-svn: 107719
2010-07-06 22:52:00 +00:00