Merge "Add a tox test environment for random hashseed testing"

This commit is contained in:
Jenkins 2014-08-04 21:17:49 +00:00 committed by Gerrit Code Review
commit 89ee78a135

View File

@ -15,6 +15,12 @@ deps = -r{toxinidir}/requirements.txt
commands =
python -m neutron.openstack.common.lockutils python setup.py testr --slowest --testr-args='{posargs}'
[testenv:hashtest]
# This is the same as default environment, but with a random PYTHONHASHSEED.
# You can also specify a specific hashseed (for test repeatability) as follows:
# tox --hashseed 1235130571 -e hashtest
setenv = VIRTUAL_ENV={envdir}
[testenv:functional]
setenv = OS_TEST_PATH=./neutron/tests/functional
commands =