From b8bc40250811cce0869d68d372051733dbe4cb84 Mon Sep 17 00:00:00 2001 From: Luis Pabon Date: Thu, 19 Sep 2013 13:18:17 -0400 Subject: 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: http://review.gluster.org/5976 Reviewed-by: Peter Portante Tested-by: Peter Portante --- tox.ini | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tox.ini') diff --git a/tox.ini b/tox.ini index 7d0d3be..863ea61 100644 --- a/tox.ini +++ b/tox.ini @@ -1,5 +1,5 @@ [tox] -envlist = py26,py27,pep8 +envlist = py26,py27,pep8,functest [testenv] setenv = VIRTUAL_ENV={envdir} @@ -18,6 +18,11 @@ commands = nosetests -v --exe --with-xunit --with-coverage --cover-package glust [tox:jenkins] downloadcache = ~/cache/pip +[testenv:functest] +changedir = {toxinidir} +whitelist_externals=bash +commands = bash tools/functional_tests.sh + [testenv:pep8] changedir = {toxinidir} commands = -- cgit