Add mysql and postgresql in tox for debug env

Now we have seperate setup test environment script for mongodb,
mysql and postgresql, this patch adds debug env for mysql and
postgresql backend.

Change-Id: I4bff7f7443d0a5c073840b699dd15034c63b90eb
This commit is contained in:
ZhiQiang Fan 2014-11-05 13:34:04 +08:00
parent 4478381e9e
commit bb3ba13799
2 changed files with 7 additions and 2 deletions

0
setup-test-env-postgresql.sh Normal file → Executable file
View File

View File

@ -64,8 +64,13 @@ commands = bash tools/lintstack.sh
commands = {posargs} commands = {posargs}
[testenv:debug] [testenv:debug]
commands = commands = bash -x {toxinidir}/setup-test-env-mongodb.sh oslo_debug_helper {posargs}
bash -x {toxinidir}/setup-test-env-mysql.sh oslo_debug_helper {posargs}
[testenv:debug-mysql]
commands = bash -x {toxinidir}/setup-test-env-mysql.sh oslo_debug_helper {posargs}
[testenv:debug-pgsql]
commands = bash -x {toxinidir}/setup-test-env-postgresql.sh oslo_debug_helper {posargs}
[flake8] [flake8]
ignore = ignore =