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:
parent
4478381e9e
commit
bb3ba13799
0
setup-test-env-postgresql.sh
Normal file → Executable file
0
setup-test-env-postgresql.sh
Normal file → Executable file
9
tox.ini
9
tox.ini
@ -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 =
|
||||||
|
Loading…
Reference in New Issue
Block a user