Run tests using testrepository
Change-Id: Ic0b4146d18fe7dba6f7c43c48ad6507147ef11eb
This commit is contained in:
parent
a24fb07d39
commit
fe64cb2178
2
.gitignore
vendored
2
.gitignore
vendored
@ -33,3 +33,5 @@ nosetests.xml
|
||||
|
||||
AUTHORS
|
||||
ChangeLog
|
||||
|
||||
.testrepository
|
||||
|
7
.testr.conf
Normal file
7
.testr.conf
Normal file
@ -0,0 +1,7 @@
|
||||
[DEFAULT]
|
||||
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
|
||||
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
|
||||
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
|
||||
${PYTHON:-python} -m subunit.run discover climate $LISTOPT $IDOPTION
|
||||
test_id_option=--load-list $IDFILE
|
||||
test_list_option=--list
|
@ -7,7 +7,9 @@ mox>=0.5.3
|
||||
sphinx>=1.1.2
|
||||
sphinxcontrib-httpdomain
|
||||
|
||||
discover
|
||||
fixtures>=0.3.14
|
||||
testrepository>=0.0.17
|
||||
testtools>=0.9.32
|
||||
|
||||
http://tarballs.openstack.org/nova/nova-master.tar.gz#egg=nova
|
||||
|
2
tox.ini
2
tox.ini
@ -11,7 +11,7 @@ setenv = VIRTUAL_ENV={envdir}
|
||||
NOSE_OPENSTACK_YELLOW=0.025
|
||||
NOSE_OPENSTACK_SHOW_ELAPSED=1
|
||||
commands = nosetests --no-path-adjustment --where=tests_nova_scheduler
|
||||
nosetests --no-path-adjustment --where=climate/tests {posargs}
|
||||
python setup.py testr --slowest --testr-args="{posargs}"
|
||||
sitepackages = False
|
||||
|
||||
[testenv:cover]
|
||||
|
Loading…
x
Reference in New Issue
Block a user