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
diff --git a/.testr.conf b/.testr.conf
new file mode 100644
index 0000000..a0262d8
--- /dev/null
+++ b/.testr.conf
@@ -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
diff --git a/tools/pip-requires b/tools/pip-requires
index 0147cd8..5c45a49 100644
--- a/tools/pip-requires
+++ b/tools/pip-requires
@@ -12,3 +12,4 @@
 python-quantumclient>=2.1
 testresources
 keyring
+testrepository