b1dfb53ba1
Blatantly plagiarized from I1acc2deadc01421baec256352b35a646676445e5 This commit switches the tox command to use ostestr instead of calling testr through setup.py. The primary advantage here is that it uses the subunit-trace output filter. ostestr primarily exists as a replacement for pretty_tox.sh bash scripts which spread like a plague through OpenStack projects after Nova copied it from Tempest. (although ostestr also provides some other useful features) Granted ironic wasn't using that, but this commit makes the switch to enable getting the subunit-trace output which is generally useful. Note that this dramatically increases output while running tests. However, test failures are still at the bottom of the output, so it shouldn't cause much pain, if any. Change-Id: Ia373b9b4857824644e99a2c8d27e64018cb84b78
6 lines
275 B
Plaintext
6 lines
275 B
Plaintext
[DEFAULT]
|
|
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} ${PYTHON:-python} -m subunit.run discover -t ./ ${TESTS_DIR:-./ironicclient/tests/unit} $LISTOPT $IDOPTION
|
|
|
|
test_id_option=--load-list $IDFILE
|
|
test_list_option=--list
|