Use testr directly from tox
Invoking testr directly lets us pass arguments to it through tox so we can, for example, only run a subset of the tests. Change-Id: I21351880db0848b860e7c61d4a8c711be2a49de0
This commit is contained in:
parent
d4371c5dff
commit
50a5ffed12
2
tox.ini
2
tox.ini
@ -9,7 +9,7 @@ usedevelop = True
|
||||
install_command = pip install --allow-all-external --allow-insecure netaddr -U {opts} {packages}
|
||||
deps = -r{toxinidir}/requirements.txt
|
||||
-r{toxinidir}/test-requirements.txt
|
||||
commands = python -m glance.openstack.common.lockutils python setup.py test --slowest \
|
||||
commands = python -m glance.openstack.common.lockutils python setup.py testr --slowest \
|
||||
--testr-args='--concurrency 0 {posargs}'
|
||||
whitelist_externals = bash
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user