Remove functional tox targets

Change-Id: If1f27bc03284254e251e7c397c0fa80ff56671b5
This commit is contained in:
Julien Danjou 2016-07-20 12:30:32 +02:00
parent a6314e99e8
commit 2f3629f48f
2 changed files with 1 additions and 27 deletions

View File

@ -1,11 +0,0 @@
#!/bin/bash -x
set -e
# Use a mongodb backend by default
if [ -z $PANKO_TEST_BACKEND ]; then
PANKO_TEST_BACKEND="mongodb"
fi
for backend in $PANKO_TEST_BACKEND; do
pifpaf run $backend ./tools/pretty_tox.sh $*
done

17
tox.ini
View File

@ -1,7 +1,7 @@
[tox]
minversion = 1.6
skipsdist = True
envlist = py27,py34,functional,py34-functional,pep8
envlist = py27,py34,pep8
[testenv]
deps = -r{toxinidir}/requirements.txt
@ -51,21 +51,6 @@ commands = pifpaf run elasticsearch {toxinidir}/tools/pretty_tox.sh "{posargs}"
setenv = OS_TEST_PATH=panko/tests/functional/
commands = pifpaf run elasticsearch {toxinidir}/tools/pretty_tox.sh "{posargs}"
[testenv:functional]
setenv = VIRTUAL_ENV={envdir}
OS_TEST_PATH=panko/tests/functional/
passenv = PANKO_*
commands =
bash -x {toxinidir}/run-functional-tests.sh "{posargs}"
[testenv:py34-functional]
setenv = VIRTUAL_ENV={envdir}
OS_TEST_PATH=panko/tests/functional/
basepython = python3.4
passenv = PANKO_*
commands =
bash -x {toxinidir}/run-functional-tests.sh "{posargs}"
# NOTE(chdent): The gabbi tests are also run under the other functional
# tox targets. This target simply provides a target to directly run just
# gabbi tests without needing to do discovery across the entire body of