path: root/tox.ini
diff options
authorLuis Pabon <>2013-09-19 13:18:17 -0400
committerPeter Portante <>2013-09-20 12:51:17 -0700
commitb8bc40250811cce0869d68d372051733dbe4cb84 (patch)
tree6376c4013a3f1791a0e598aab9adac901df250ef /tox.ini
parent7d5e6ed57e4b818c5b8b130b53f57d47dc20e327 (diff)
Use tox to satisfy functional test requirements
Instead of installing and polluting the host development system with the required packages to run the functional tests, it is now possible to run the functional tests from inside tox. All the required packages are installed in the tox environment and run from there. The only external dependencies are that the functional tests still must use /etc/swift for configuration files on the host and /mnt/gluster-object must be on a XFS or GlusterFS volume. Change-Id: I4a949dbcad778018e22c61d09ae1ba5f21a03aec Signed-off-by: Luis Pabon <> Reviewed-on: Reviewed-by: Peter Portante <> Tested-by: Peter Portante <>
Diffstat (limited to 'tox.ini')
1 files changed, 6 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 7d0d3be..863ea61 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,5 +1,5 @@
-envlist = py26,py27,pep8
+envlist = py26,py27,pep8,functest
setenv = VIRTUAL_ENV={envdir}
@@ -18,6 +18,11 @@ commands = nosetests -v --exe --with-xunit --with-coverage --cover-package glust
downloadcache = ~/cache/pip
+changedir = {toxinidir}
+commands = bash tools/
changedir = {toxinidir}
commands =