X-Git-Url: https://git.phdru.name/?p=sqlconvert.git;a=blobdiff_plain;f=tox.ini;h=ce326fbb6ec7c98a8c4490306ce9cd94770d12aa;hp=c360621c994e75fa7ea3ca15a5c4c56bd69600b8;hb=5dedec6fb8080fb8089e6f2f9274f2fba577cf87;hpb=0de3e04c1c3c8e824d799a7ba219ec50a3fccb64 diff --git a/tox.ini b/tox.ini index c360621..ce326fb 100644 --- a/tox.ini +++ b/tox.ini @@ -19,17 +19,19 @@ passenv = PGPASSWORD sitepackages = True # Don't fail or warn on uninstalled commands whitelist_externals = - flake8 createdb dropdb + flake8 + cmp.py + rm.py [general] commands = {[testenv]commands} {envpython} -m pytest --cov=sqlconvert {envpython} {envbindir}/mysql2sql -P demo/demo.sql test.out - {envpython} {envbindir}/cmp.py -i tests/mysql2sql/test.out test.out - {envpython} {envbindir}/rm.py test.out + cmp.py -i tests/mysql2sql/test.out test.out + rm.py test.out [testenv:py27] commands = {[general]commands} @@ -88,9 +90,9 @@ commands = {[postgres-w32]commands} [sqlite] commands = {[testenv]commands} - -{envpython} {envbindir}/rm.py /tmp/test.sqdb + -rm.py /tmp/test.sqdb {envpython} -m pytest --cov=sqlconvert -D sqlite:///tmp/test.sqdb - {envpython} {envbindir}/rm.py /tmp/test.sqdb + rm.py /tmp/test.sqdb [testenv:py27-sqlite] commands = {[sqlite]commands} @@ -107,9 +109,9 @@ commands = {[sqlite]commands} [sqlite-w32] commands = {[testenv]commands} - -{envpython} {envbindir}/rm.py C:/projects/sqlconvert/test.sqdb + -rm.py C:/projects/sqlconvert/test.sqdb pytest --cov=sqlconvert -D sqlite:/C:/projects/sqlconvert/test.sqdb?debug=1 - {envpython} {envbindir}/rm.py C:/projects/sqlconvert/test.sqdb + rm.py C:/projects/sqlconvert/test.sqdb [testenv:py27-sqlite-w32] commands = {[sqlite-w32]commands}