Ver Fonte

tox.ini: Wrong dir for xunit file

Ask Solem há 15 anos atrás
pai
commit
e1161ebce6
1 ficheiros alterados com 6 adições e 5 exclusões
  1. 6 5
      tox.ini

+ 6 - 5
tox.ini

@@ -11,29 +11,30 @@ basepython = python2.4
 commands = pip -E {envdir} install -r contrib/requirements/default.txt
            pip -E {envdir} install -r contrib/requirements/py24.txt
            pip -E {envdir} install -r contrib/requirements/test.txt
-           nosetests --with-xunit --xunit-file=../../nosetests.xml
+           nosetests --with-xunit --xunit-file=nosetests.xml
 
 [testenv:py25]
 basepython = python2.5
 commands = pip -E {envdir} install -r contrib/requirements/default.txt
            pip -E {envdir} install -r contrib/requirements/py25.txt
            pip -E {envdir} install -r contrib/requirements/test.txt
-           nosetests --with-xunit --xunit-file=../../nosetests.xml
+           nosetests --with-xunit --xunit-file=nosetests.xml
 
 [testenv:py26]
 basepython = python2.6
 commands = pip -E {envdir} install -r contrib/requirements/default.txt
            pip -E {envdir} install -r contrib/requirements/test.txt
-           nosetests --with-xunit --xunit-file=../../nosetests.xml
+           nosetests --with-xunit --xunit-file=nosetests.xml
 
 [testenv:py27]
 basepython = python2.7
 commands = pip -E {envdir} install -r contrib/requirements/default.txt
            pip -E {envdir} install -r contrib/requirements/test.txt
-           nosetests --with-xunit --xunit-file=../../nosetests.xml
+           nosetests --with-xunit --xunit-file=nosetests.xml
 
 [testenv:py27-xunit-xmlcover]
 basepython = python2.7
 commands = pip -E {envdir} install -r contrib/requirements/default.txt
            pip -E {envdir} install -r contrib/requirements/test.txt
-           nosetests --with-xunit --with-coverage3 --cover3-xml
+           nosetests --with-xunit --with-coverage3 --cover3-xml \
+                     --xunit-file=nosetests.xml