# HG changeset patch # User Marcin Kuzminski # Date 2012-07-10 23:37:11 # Node ID c1c66976001a541201f0a636eaff38aa3ab3f0b0 # Parent a5e32ed7f790a41db0244d7f0972bf0d1d184b26 added optional args to tox script, and fixed mysql commands diff --git a/tox.ini b/tox.ini --- a/tox.ini +++ b/tox.ini @@ -15,7 +15,7 @@ envlist = py25-sqlite, basepython = python2.5 commands = - nosetests + nosetests [] setenv = TEST_DB=sqlite:////tmp/rhodecode_test.sqlite @@ -23,9 +23,9 @@ setenv = basepython = python2.5 commands = - mysql -uroot -pqwe -e 'drop database if exists rhodecode_test;' - mysql -uroot -pqwe -e 'create database rhodecode_test;' - nosetests + mysql -uroot -pqwe -hlocalhost -e 'drop database if exists rhodecode_test;' + mysql -uroot -pqwe -hlocalhost -e 'create database rhodecode_test;' + nosetests [] deps = mysql-python setenv = @@ -37,7 +37,7 @@ basepython = commands = psql -Upostgres -Wqwe -hlocalhost -c 'drop database if exists rhodecode_test;' psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;' - nosetests + nosetests [] deps = psycopg2 setenv = @@ -49,7 +49,7 @@ setenv = basepython = python2.6 commands = - nosetests + nosetests [] setenv = TEST_DB=sqlite:////tmp/rhodecode_test.sqlite @@ -57,9 +57,9 @@ setenv = basepython = python2.6 commands = - mysql -uroot -pqwe -e 'drop database if exists rhodecode_test;' - mysql -uroot -pqwe -e 'create database rhodecode_test;' - nosetests + mysql -uroot -pqwe -hlocalhost -e 'drop database if exists rhodecode_test;' + mysql -uroot -pqwe -hlocalhost -e 'create database rhodecode_test;' + nosetests [] deps = mysql-python setenv = @@ -71,7 +71,7 @@ basepython = commands = psql -Upostgres -Wqwe -hlocalhost -c 'drop database if exists rhodecode_test;' psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;' - nosetests + nosetests [] deps = psycopg2 setenv = @@ -83,7 +83,7 @@ setenv = basepython = python2.7 commands = - nosetests + nosetests [] setenv = TEST_DB=sqlite:////tmp/rhodecode_test.sqlite @@ -91,9 +91,9 @@ setenv = basepython = python2.7 commands = - mysql -uroot -pqwe -e 'drop database if exists rhodecode_test;' - mysql -uroot -pqwe -e 'create database rhodecode_test;' - nosetests + mysql -uroot -pqwe -hlocalhost -e 'drop database if exists rhodecode_test;' + mysql -uroot -pqwe -hlocalhost -e 'create database rhodecode_test;' + nosetests [] deps = mysql-python setenv = @@ -105,7 +105,7 @@ basepython = commands = psql -Upostgres -Wqwe -hlocalhost -c 'drop database if exists rhodecode_test;' psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;' - nosetests + nosetests [] deps = psycopg2 setenv =