summaryrefslogtreecommitdiffstats
path: root/lldb/test/python_api/process/io/main.c
Commit message (Collapse)AuthorAgeFilesLines
* Move lldb/test to lldb/packages/Python/lldbsuite/test.Zachary Turner2015-10-281-19/+0
| | | | | | | | | | | This is the conclusion of an effort to get LLDB's Python code structured into a bona-fide Python package. This has a number of benefits, but most notably the ability to more easily share Python code between different but related pieces of LLDB's Python infrastructure (for example, `scripts` can now share code with `test`). llvm-svn: 251532
* Fixed stdio redirection within LLDB to "do the right thing" in all cases.Greg Clayton2014-10-141-7/+12
| | | | | | | | | | The main issue was if you didn't specify all three (stdin/out/err), you would get file actions added to the launch that would always use the pseudo terminal. This is now fixed. Also fixed the test suite test that handles IO to test redirecting things individually and all together and in other combinations to make sure we don't regress. <rdar://problem/18638226> llvm-svn: 219711
* rdar://problem/10492827Johnny Chen2012-01-121-0/+2
| | | | | | | | | | | | | | SBProcess.GetSTDERR() not getting stderr of the launched process Since we are launch the inferior with: process = target.LaunchSimple(None, None, os.getcwd()) i.e., without specifying stdin/out/err. A pseudo terminal is used for handling the process I/O, and we are satisfied once the expected output appears in process.GetSTDOUT(). llvm-svn: 147983
* SBProcess.PutSTDIN() needs to be properly typemapped when swigging,Johnny Chen2011-11-281-0/+12
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
OpenPOWER on IntegriCloud