summaryrefslogtreecommitdiffstats
path: root/tox.ini
diff options
context:
space:
mode:
authorPrashanth Pai <ppai@redhat.com>2014-04-10 16:49:05 +0530
committerGerrit Code Review <review@dev.gluster.org>2014-05-19 18:34:48 -0700
commit8acb5a7585a8e155cf0c9d0a60d76e75cdd725f7 (patch)
tree45ffd1ca45cce932b2916a71d94e150fe770db08 /tox.ini
parentda5a33d206431f885a4dc029d79f693a27ef293a (diff)
Fix functional tests
* The order of elements in list returned by listdir() can vary and may not be sorted. This caused assertEqual in "test_listdir" to fail. * Also, some systems may have xattrs belonging to selinux. So, a listxattr can list them too. * Allow hostname/ip and volume name to be configured easily by setting it in test.conf. This enables functional tests to use a non-local volume. * Cleanup volume before and after running functional tests. * Added MANIFEST.in and LICENSE file Change-Id: Icfa6eb60e8d8e7ed4d6ab8190a2a2c80688999a3 Signed-off-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini6
1 files changed, 3 insertions, 3 deletions
diff --git a/tox.ini b/tox.ini
index 5a97c9b..78e2818 100644
--- a/tox.ini
+++ b/tox.ini
@@ -12,7 +12,7 @@ setenv = VIRTUAL_ENV={envdir}
NOSE_OPENSTACK_STDOUT=1
deps =
--download-cache={homedir}/.pipcache
- -r{toxinidir}/tools/test-requires
+ -r{toxinidir}/test-requirements.txt
changedir = {toxinidir}/test/unit
commands = nosetests -v --exe --with-xunit --with-coverage --cover-package glusterfs --cover-erase --cover-xml --cover-html --cover-branches --with-html-output {posargs}
@@ -21,12 +21,12 @@ downloadcache = ~/cache/pip
[testenv:functest]
changedir = {toxinidir}
-commands = bash tools/functional_tests.sh
+commands = bash functional_tests.sh
[testenv:pep8]
deps =
--download-cache={homedir}/.pipcache
- -r{toxinidir}/tools/test-requires
+ -r{toxinidir}/test-requirements.txt
changedir = {toxinidir}
commands =
flake8