summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorNiall Bunting <niall.bunting@hpe.com>2016-06-07 14:43:50 +0000
committerNiall Bunting <niall.bunting@hpe.com>2016-07-01 16:54:48 +0000
commit57cea8d0dd4789f3b5ccc622b84f59980f3ac2a7 (patch)
tree300a13bc83b6e346314ccda9c332926887fbe9f2 /tox.ini
parent6e7c7229abbefdb04c9070e242d23e02678ac3e6 (diff)
downloadglance_store-57cea8d0dd4789f3b5ccc622b84f59980f3ac2a7.tar.gz
Split functional tests apart
Currently all the functional tests are ran together in one job. This patch breaks the tests apart so only certain parts of them have to be ran. This will mean the tests can be ran in parallel and only the particular ones that are required, as the functional tests require that backend to be avalible. Change-Id: I61ba679b8041a89fb5a7589a62db8b6f42cd1058
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini11
1 files changed, 8 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index e11776f..b91f779 100644
--- a/tox.ini
+++ b/tox.ini
@@ -39,10 +39,15 @@ commands = python setup.py testr --coverage --testr-args='^(?!.*test.*coverage).
install_command = pip install --allow-all-external --allow-insecure netaddr -U {opts} {packages}
commands = {posargs}
-[testenv:functional]
+[testenv:functional-swift]
sitepackages = True
-setenv = OS_TEST_PATH=./glance_store/tests/functional
-commands = python setup.py testr --slowest --testr-args='glance_store.tests.functional'
+setenv = OS_TEST_PATH=./glance_store/tests/functional/swift
+commands = python setup.py testr --slowest --testr-args='glance_store.tests.functional.swift'
+
+[testenv:functional-filesystem]
+sitepackages = True
+setenv = OS_TEST_PATH=./glance_store/tests/functional/filesystem
+commands = python setup.py testr --slowest --testr-args='glance_store.tests.functional.filesystem'
[flake8]
# TODO(dmllr): Analyze or fix the warnings blacklisted below