Functional tests run in many environments

Have the functional tests running with less customization and
less shell.  This change will allow the functional tests to be
run against any cloud set up in the environment.

Change-Id: I24f621fbace62273e5a0be24e7af9078c0fc8550
This commit is contained in:
TerryHowe 2015-04-16 12:56:40 -06:00
parent 83c17253db
commit b1eac35e70
2 changed files with 2 additions and 2 deletions

View File

@ -2,7 +2,7 @@
test_command=OS_STDOUT_CAPTURE=${OS_STDOUT_CAPTURE:-1} \
OS_STDERR_CAPTURE=${OS_STDERR_CAPTURE:-1} \
OS_TEST_TIMEOUT=${OS_TEST_TIMEOUT:-60} \
${PYTHON:-python} -m subunit.run discover -t ./ ./openstackclient/tests $LISTOPT $IDOPTION
${PYTHON:-python} -m subunit.run discover -t ./ ${OS_TEST_PATH:-./openstackclient/tests} $LISTOPT $IDOPTION
test_id_option=--load-list $IDFILE
test_list_option=--list

View File

@ -16,7 +16,7 @@ whitelist_externals = bash
commands = flake8
[testenv:functional]
commands = bash -x {toxinidir}/functional/harpoon.sh
setenv = OS_TEST_PATH=./functional/tests
[testenv:venv]
commands = {posargs}