Add support for testrepository

Adds the testrepository config file needed to use testr to run the
tempest tests. To run the tests just do:

testr run

or to run them in parallel:

testr run --parallel

At this stage you may encounter one or two failures with --parallel due to
conflicts between a couple of tests that not have yet been fixed, but a serial
run should work fine.

Change-Id: I08121fdcd48e2f4ff86bf9e1d4d378f818699d89
This commit is contained in:
Chris Yeoh 2013-02-08 11:14:00 +10:30
parent 4868b4b3fb
commit 3caf42323e
2 changed files with 5 additions and 0 deletions

4
.testr.conf Normal file
View File

@ -0,0 +1,4 @@
[DEFAULT]
test_command=${PYTHON:-python} -m subunit.run discover -t ./ ./tempest $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list

View File

@ -12,3 +12,4 @@ python-novaclient>=2.10.0
python-quantumclient>=2.1
testresources
keyring
testrepository