- Dec 10, 2010
-
-
Johnny Chen authored
Add an attribute __python_api_test__ (set to True) to the @python_api_test decorated test method to distinguish them from the lldb command line tests. llvm-svn: 121500
-
Johnny Chen authored
llvm-svn: 121499
-
Johnny Chen authored
llvm-svn: 121494
-
Jim Ingham authored
through a KVO swizzled object's method calls. llvm-svn: 121457
-
Johnny Chen authored
llvm-svn: 121448
-
Johnny Chen authored
llvm-svn: 121446
-
Johnny Chen authored
Example: @python_api_test def test_evaluate_expression_python(self): """Test SBFrame.EvaluateExpression() API for evaluating an expression.""" ... The opposite of Python APIs only test is an lldb command line test, which sends commands to the lldb command interpreter. Add a '-a' option to the test driver to skip Python API only tests. Modify TestExprs.py to mark a test as @python_api_test and remove an @expectedFailure decorator as the bug has been fixed. llvm-svn: 121442
-
Jim Ingham authored
llvm-svn: 121440
-
- Dec 09, 2010
-
-
Johnny Chen authored
llvm-svn: 121421
-
Johnny Chen authored
llvm-svn: 121419
-
Johnny Chen authored
llvm-svn: 121393
-
Johnny Chen authored
Initial test case test_modify_source_file_while_debugging() in TestSourceManager.py tests the caching mechanism of the source manager. llvm-svn: 121389
-
- Dec 08, 2010
-
-
Johnny Chen authored
way of iterating through an aggregate data structure. The added example usage is from an actual use in test/foundation/TestSymbolTable.py: 2. Pass a container of aggregate which provides APIs to get to the size and the element of the aggregate: # Module is a container of symbol table module = target.FindModule(filespec) for symbol in lldb_iter(module, 'GetNumSymbols', 'GetSymbolAtIndex'): name = symbol.GetName() ... llvm-svn: 121271
-
Johnny Chen authored
Also, add bug info for expected failures that remain: <rdar://problem/8741897> Expressions should support properties llvm-svn: 121268
-
Johnny Chen authored
as the args and the envs to the launched process. o lldbtest.py: Forgot to check in some assertion messages changes for lldbtest.py. o dotest.py: Also add "api" category to the default lldb log option list. llvm-svn: 121220
-
Johnny Chen authored
Launch the process with ['X', 'Y', 'Z'] as the args to make argc == 4 and verify that's the case, plus some other EvaluateExpression() calls. llvm-svn: 121218
-
Johnny Chen authored
the command given to lldb command interpreter more readable. llvm-svn: 121199
-
- Dec 07, 2010
-
-
Johnny Chen authored
the results against our golden ones. llvm-svn: 121185
-
Johnny Chen authored
# runCmd: command alias print_hi expression printf ("\n\tHi!") # output: self.runCmd('command alias print_hi expression printf ("\\n\\tHi!")') # This fails currently. self.runCmd('print_hi') and modify existing test sequences to escape the escape character '\ to prevent it from being interpreted by Python before passing on to the lldb command interpreter. llvm-svn: 121183
-
Johnny Chen authored
llvm-svn: 121178
-
Caroline Tice authored
- Fix alias-building & resolving to properly handle optional arguments for command options. - Add logging for command resolution ('log enable lldb commands') - Fix alias resolution to properly handle commands that take raw input (resolve the alias, but don't muck up the raw arguments). Net result: Among other things, 'expr' command can now take strings with escaped characters and not have the command handling & alias resolution code muck up the escaped characters. E.g. 'expr printf ("\n\n\tHello there!")' should now work properly. Not working yet: Creating aliases with raw input for commands that take raw input. Working on that. e.g. 'command alias print_hi expr printf ("\n\tHi!")' does not work yet. llvm-svn: 121171
-
Johnny Chen authored
entries (including synthesized properties) through the lldb Python APIs. llvm-svn: 121168
-
Johnny Chen authored
llvm-svn: 121151
-
Johnny Chen authored
to main.m. llvm-svn: 121150
-
Johnny Chen authored
llvm-svn: 121077
-
Johnny Chen authored
Mark NSArray_expr() and NSString_expr() as currently failing. Both are called from dsym and dwarf builds. So that makes the num of expected failures equal 4. ---------------------------------------------------------------------- Ran 6 tests in 19.856s OK (expected failures=4) llvm-svn: 121068
-
- Dec 06, 2010
-
-
Johnny Chen authored
llvm-svn: 121063
-
Johnny Chen authored
llvm-svn: 121062
-
Johnny Chen authored
llvm-svn: 121052
-
Johnny Chen authored
llvm-svn: 121051
-
Johnny Chen authored
llvm-svn: 121046
-
Johnny Chen authored
/lldb/trunk/test/load_unload/TestLoadUnload.py llvm-svn: 121045
-
Johnny Chen authored
within the file 'filename'. llvm-svn: 121039
-
Johnny Chen authored
'process load' and 'process unload' to load and unload shared library from lldb command lines. llvm-svn: 121036
-
Greg Clayton authored
llvm-svn: 121027
-
Johnny Chen authored
o test_many_expr_commands() o test_expr_commands_can_handle_quotes() Mark test_expr_commands_can_handle_quotes() as @expectedFailure: # rdar://problem/8686536 # CommandInterpreter::HandleCommand is stripping \'s from input for WantsRawCommand commands llvm-svn: 121019
-
Greg Clayton authored
Add bug number for current expected failures. llvm-svn: 120976
-
Greg Clayton authored
more completely. Example expressions are in the comments. llvm-svn: 120975
-
- Dec 04, 2010
-
-
Johnny Chen authored
which tests the recently added lldb feature of automatically passing the host environment variables to the launched process. llvm-svn: 120871
-
Johnny Chen authored
llvm-svn: 120861
-