Browse Source

tox.ini: Wrong dir for xunit file

Ask Solem 15 năm trước cách đây
mục cha
commit
e1161ebce6
1 tập tin đã thay đổi với 6 bổ sung5 xóa
  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