
This commit switches from using subprocess to call testtools.run and subunit.run with python -m to directly calling the methods being run. This should make the non-default cases when using subunit.run and testtools.run faster, and it simplifies the code. As part of this, the code around call_subunit is fixed to make sure the it works as expected given different argument combinations. ostestr will still call subprocess to run testr, because the interface is more complex, and when subunit.run is used with subunit-trace, because the stdin handling is tricky. The subunit.run with subunit-trace case will be handled in a later patch.
os-testr
A testr wrapper to provide functionality for OpenStack projects
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/os-testr
- Source: http://git.openstack.org/cgit/openstack/os-testr
- Bugs: http://bugs.launchpad.net/os-testr
Features
- TODO
Description