summaryrefslogtreecommitdiffstats
path: root/rtemstoolkit/execute.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* rtemstoolkit/execute: Handle unicode input on python2Chris Johns2020-03-301-1/+12
| | | | | | | | - Allow unicode as a type on python2. The unicode type is not present on python3 so make the support conditional. - Add some more diag prints to aid debugging. Closes #3964
* execute.py: fix long lineGedare Bloom2020-03-191-2/+4
|
* rtemstoolkit/execute: Print the trace exe command as a string and not list.Chris Johns2019-02-081-17/+21
|
* rtemstoolkit: Fixes to the reader and writer threads for capturingChris Johns2018-11-261-2/+3
| | | | | | | | - Use the 'read1' file handle call to return if any data is queued for reading from stdout or stderr. - Flush the stdin pipe in the writer thread. These changes let the execute module work on Python2 and Python3.
* rtemstoolkit/execute: Use buffered output and improve performanceChris Johns2018-11-231-22/+25
| | | | | | | | - Use buffered output on the stdout and stderr streams from child processors. - Simplify the read thread line processing to improve performance. - Disable 'close_fds' as it slows down python3's popen call. - Update the importing of rtemstoolkit modules.
* rtemstoolkit: Set proc buffering to 0 to not block on smaller reads.Chris Johns2017-04-251-0/+4
|
* execute: Use the io python module for output capture.Chris Johns2017-04-251-4/+11
| | | | | | | This change drops the overhead of capturing the process output. The io module in Python is similar to the POSIX API for a file read where a read will return up to the buffer size rather than blocking until the buffer is full.
* rtemstoolkit: Fix execute's writer thread to not eval() the input.Chris Johns2016-03-141-7/+12
| | | | | | | | | | | | The conversion to Python3 added an eval() call which is wrong. Fix the spelling in execute. Fix labels in the tester gdb locking. Check the debug-trace arguments. Close #2642.
* Python 2 and python 3 refactor fixes.Chris Johns2016-03-091-1/+2
| | | | Updates #2619.
* Update rtems-tool to support Python 2 and 3.Chris Johns2016-03-031-16/+43
| | | | | | Add solaris and netbsd. Close #2619.
* Disable installing PYO and PYC. Fix install paths.Chris Johns2016-02-191-2/+2
| | | | | | | | Installing PYO and PYC does not work so disable this. Move the Python check to the top level and have a single place. Fix the install paths a revert the 'from . import' changes. This is resolved by installing into the correct paths.
* rtemstoolkit: msys2 compatibilitySebastian Huber2016-01-081-2/+2
|
* Python 3 compatibilitySebastian Huber2015-11-121-14/+14
|
* tester: Correctly handle contro-c.Chris Johns2014-05-311-1/+46
| | | | Add support to kill running tests if the user presses control-c.
* rt: Add the rtems-tester.Chris Johns2014-02-151-0/+517