summaryrefslogtreecommitdiffstats
path: root/lldb/test/stl
Commit message (Collapse)AuthorAgeFilesLines
* Move struct_types, stepping, and set_values dirs to now reside under lang/c.Johnny Chen2011-06-255-214/+0
| | | | | | Move stl dir to now reside under lang/cpp. llvm-svn: 133884
* Fix bad test case; not all compilers are guaranteed to step into code ↵Johnny Chen2011-05-161-9/+6
| | | | | | | | inlined from the STL header file. rdar://problem/8983790 llvm-svn: 131433
* Use self.TraceOn() API.Johnny Chen2011-04-191-4/+6
| | | | llvm-svn: 129827
* Change "breakpoint list" command to default to brief output rather than full ↵Caroline Tice2011-02-041-1/+1
| | | | | | | | | output. Modify test cases in test suite to either expect brief output or to pass -f for full output as appropriate. llvm-svn: 124905
* The StateType representation has been changed. Modify the test cases to ↵Johnny Chen2010-10-181-2/+2
| | | | | | accommodate. llvm-svn: 116705
* Make calling the super class's setUp() method less fragile.Johnny Chen2010-10-142-2/+4
| | | | llvm-svn: 116490
* Avoid using hardcoded line number to break on. Use the line_number() utilityJohnny Chen2010-10-121-2/+13
| | | | | | function to get the line number to break on during setUp(). llvm-svn: 116363
* Update the comment with reagard to a bug filed against possible clang-generatedJohnny Chen2010-10-121-0/+4
| | | | | | debug info which results in the breakpoint locations of 3, instead of 1 (as in gcc). llvm-svn: 116361
* Avoid using hardcoded line number to break on. Use the line_number() utilityJohnny Chen2010-10-122-4/+11
| | | | | | function to get the line number to break on during setUp(). llvm-svn: 116358
* o TestStdCXXDisassembly.py:Johnny Chen2010-10-081-1/+1
| | | | | | | | | | | | | | | | | | | | Update the expected match string. o lldbtest.py: Indicate when a command fails, even if there is nothing in the error stream. o TestHelp.py: Add a regression test case for 'help image dump symtab'. o CommandObjectHelp.cpp: Some of the logic branches with successful help command results were not tagged with a Success Status. They are fixed now. This is important for Python interaction. llvm-svn: 116062
* Make the test module with unique name instead of just the generic name ↵Johnny Chen2010-10-051-0/+0
| | | | | | | | TestDisassembly. Add a utility function to lldbtest.py to get the native pointer size of the host os. llvm-svn: 115652
* Filename renamings.Johnny Chen2010-10-051-0/+0
| | | | llvm-svn: 115636
* Do 'disassemble -s start_addr -e end_addr' on stdc++ library function entries.Johnny Chen2010-10-041-2/+46
| | | | llvm-svn: 115574
* Initial version of a test case meant to disassemble each and every function fromJohnny Chen2010-10-041-0/+56
| | | | | | | | the stdc++ library module. Right now, it doesn't do any disassembly at all. It merely locates the stdc++ library. Also tests the SBProcess object description and verifies it is in a 'Stopped' state. llvm-svn: 115536
* Fixed an error in Debugger::UpdateExecutionContext() where an invalid index ID 0Johnny Chen2010-09-141-2/+0
| | | | | | | | | | | | | was used to set the selected thread if none was selected. Use a more robust API to accomplish the task. Also fixed an error found, while investigating, in CommandObjectThreadSelect:: Execute() where the return status was not properly set if successful. As a result, both the stl step-in test cases with expectedFailure decorators now passed. llvm-svn: 113825
* Converted TestSTL.py to Dsym/Dwarf combination.Johnny Chen2010-09-071-1/+13
| | | | llvm-svn: 113241
* Changed the test case class names to be noun-like instead of verb-like.Johnny Chen2010-09-011-1/+1
| | | | llvm-svn: 112732
* Added a test case test_breakpoint_creation_by_filespec_python() which creates aJohnny Chen2010-08-271-1/+1
| | | | | | | | 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
* Makefile refactoring for the test suite. Added a make directory under test,Johnny Chen2010-08-231-123/+4
| | | | | | | | | which hosts the Makefile.rules and modified most of the Makefiles under each test case directories to utilize Mekefile.rules. Added a description of 'make' directory into README-TestSuite file. llvm-svn: 111868
* Changed the keyword argument for runCmd()/expect() from 'verbose' to 'trace',Johnny Chen2010-08-231-1/+1
| | | | | | | | | | | which, defaults to False, and if set to True, will trace lldb command execution and result. Added "-t" command option to the test driver dotest.py which sets the LLDB_COMMAND_TRACE environment variable to "YES" and as a result always turns on command tracing regardless of the 'trace' keyword argument to runCmd()/expect(). llvm-svn: 111811
* Print the verbose output of runCmd()/expect() to stderr instead of stdout.Johnny Chen2010-08-201-34/+16
| | | | | | And converted the rest of the test cases to runCmd()/expect(). llvm-svn: 111677
* Added more informational assert message strings.Johnny Chen2010-08-191-4/+4
| | | | llvm-svn: 111536
* Simplify the assert matched-string criterion.Johnny Chen2010-08-181-4/+1
| | | | llvm-svn: 111429
* Factored the "continue" command execution of the inferior process as part of theJohnny Chen2010-08-161-4/+1
| | | | | | | | | 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
* Modified the remaining test cases to display more meaningful assert messages.Johnny Chen2010-08-091-14/+16
| | | | | | Added a generic message generator to the lldbtest.py base module. llvm-svn: 110625
* o Added unittest2 which has added the new features in unittest for Python 2.7Johnny Chen2010-08-051-2/+3
| | | | | | | | | | | | | | 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
* When running a single test case, lldb.SBDebugger.Terminate() is not being calledJohnny Chen2010-08-051-3/+6
| | | | | | | because unittest.main() calls sys.exit() before returning. Fixed by registering an exit handler for this situation. llvm-svn: 110379
* Removed redundant import statement.Johnny Chen2010-07-291-1/+0
| | | | llvm-svn: 109803
* Removed debug stmts checked into the previous commit.Johnny Chen2010-07-291-4/+1
| | | | llvm-svn: 109712
* Add some comment about possible related bug info.Johnny Chen2010-07-281-1/+5
| | | | llvm-svn: 109678
* Added a test case to test that we can successfully step into an STL function.Johnny Chen2010-07-281-0/+75
| | | | | | This test case currently always fails. llvm-svn: 109674
* Initial checkin of lldb code from internal Apple repo.Chris Lattner2010-06-083-0/+143
llvm-svn: 105619
OpenPOWER on IntegriCloud