diff options
author | Prashanth Pai <ppai@redhat.com> | 2014-04-10 16:49:05 +0530 |
---|---|---|
committer | Gerrit Code Review <review@dev.gluster.org> | 2014-05-19 18:34:48 -0700 |
commit | 8acb5a7585a8e155cf0c9d0a60d76e75cdd725f7 (patch) | |
tree | 45ffd1ca45cce932b2916a71d94e150fe770db08 /tox.ini | |
parent | da5a33d206431f885a4dc029d79f693a27ef293a (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.ini | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |