diff tox.ini @ 2587:c1c66976001a beta

added optional args to tox script, and fixed mysql commands
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 11 Jul 2012 01:37:11 +0200
parents 6ccf86ebfd4e
children 17e3926c3753
line wrap: on
line diff
--- a/tox.ini	Wed Jul 11 00:31:09 2012 +0200
+++ b/tox.ini	Wed Jul 11 01:37:11 2012 +0200
@@ -15,7 +15,7 @@
 basepython =
     python2.5
 commands =
-    nosetests
+    nosetests []
 setenv = 
     TEST_DB=sqlite:////tmp/rhodecode_test.sqlite
 
@@ -23,9 +23,9 @@
 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 @@
 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 @@
 basepython =
     python2.6
 commands =
-    nosetests
+    nosetests []
 setenv = 
     TEST_DB=sqlite:////tmp/rhodecode_test.sqlite
 
@@ -57,9 +57,9 @@
 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 @@
 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 @@
 basepython =
     python2.7
 commands =
-    nosetests
+    nosetests []
 setenv = 
     TEST_DB=sqlite:////tmp/rhodecode_test.sqlite
 
@@ -91,9 +91,9 @@
 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 @@
 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 =