Matthew Treinish 6e1bb16cab Use python APIs to call run modules in ostestr
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.
2015-03-17 20:14:40 -04:00
2015-03-17 14:58:46 -04:00
2015-03-17 14:58:46 -04:00
2015-03-17 14:58:46 -04:00
2015-03-17 14:58:46 -04:00
2015-03-17 14:58:46 -04:00
2015-03-17 14:58:46 -04:00
2015-03-17 14:58:46 -04:00
2015-03-17 14:58:46 -04:00
2015-03-17 14:58:46 -04:00
2015-03-17 14:58:46 -04:00
2015-03-17 14:58:46 -04:00
2015-03-17 14:58:46 -04:00
2015-03-17 16:23:32 -04:00
2015-03-17 16:23:32 -04:00
2015-03-17 14:58:46 -04:00
2015-03-17 14:58:46 -04:00

os-testr

A testr wrapper to provide functionality for OpenStack projects

Features

  • TODO
Description
RETIRED, further work has moved to Debian project infrastructure
Readme 245 KiB