llvm-project/lldb/test/python_api
Johnny Chen 49cb85db64 SBProcess.PutSTDIN() needs to be properly typemapped when swigging,
so that we can do Python scripting like this:

        target = self.dbg.CreateTarget(self.exe)

        self.dbg.SetAsync(True)
        process = target.LaunchSimple(None, None, os.getcwd())

        process.PutSTDIN("Line 1 Entered.\n")
        process.PutSTDIN("Line 2 Entered.\n")
        process.PutSTDIN("Line 3 Entered.\n")

Add TestProcessIO.py to exercise the process IO API: PutSTDIN()/GetSTDOUT()/GetSTDERR().

llvm-svn: 145282
2011-11-28 21:39:07 +00:00
..
default-constructor SBProcess.PutSTDIN() needs to be properly typemapped when swigging, 2011-11-28 21:39:07 +00:00
event A more succinct assertTrue. 2011-07-20 00:14:20 +00:00
frame Remove test logic to check for clang and skip the rest due to insufficient debug info. 2011-10-10 23:26:54 +00:00
function_symbol Added to the public API to allow symbolication: 2011-09-24 00:52:29 +00:00
hello_world Move hello_world to now reside under python_api dir. 2011-06-26 20:59:36 +00:00
interpreter The extra burden for the Python API test case to assign its process object to self.process 2011-06-15 22:14:12 +00:00
lldbutil Make the assignment of TestBase.mydir more portable. 2011-09-27 21:49:34 +00:00
module_section Fix extraneous import as a result of the last change. 2011-09-30 00:46:24 +00:00
process SBProcess.PutSTDIN() needs to be properly typemapped when swigging, 2011-11-28 21:39:07 +00:00
sbdata Fix wrong test method name. 2011-09-15 22:13:43 +00:00
symbol-context The extra burden for the Python API test case to assign its process object to self.process 2011-06-15 22:14:12 +00:00
target Move the responsibility for translating the various eFunctionNameType lookups to the 2011-10-07 22:23:45 +00:00
thread Remove the @expectedFailureClang custom decorator for indicating clang-specific test failures. 2011-09-26 19:05:08 +00:00
type Add SBType.GetBasicType() to the test scenario. 2011-08-05 21:35:43 +00:00
value While we are at it, verify that 'my_int_ptr' points to 'g_my_int', using the SBTarget.ResolveLoadAddress() to get its SBAddress, 2011-11-15 23:30:39 +00:00
watchpoint Add test cases for setting condition on a watchpoint for both command and API. 2011-10-17 22:17:47 +00:00