From aee380882e8d138fe10a53922bb5682056091ad6 Mon Sep 17 00:00:00 2001 From: Ask Solem Date: Wed, 14 Sep 2011 08:58:07 +0100 Subject: [PATCH] Tox: specify correct xunit location --- tox.ini | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/tox.ini b/tox.ini index 9159f514..b36d902d 100644 --- a/tox.ini +++ b/tox.ini @@ -33,8 +33,9 @@ basepython = python2.7 deps = -r{toxinidir}/requirements/default.txt -r{toxinidir}/requirements/test.txt commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir} - nosetests --with-xunit --xunit-file=nosetests.xml \ - --with-coverage3 --cover3-xml \ + nosetests --with-xunit \ + --xunit-file={toxinidir}/nosetests.xml \ + --with-coverage3 --cover3-xml \ --cover3-html-dir={toxinidir}/cover \ --cover3-xml-file=coverage.xml @@ -43,8 +44,9 @@ basepython = python2.6 deps = -r{toxinidir}/requirements/default.txt -r{toxinidir}/requirements/test.txt commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir} - nosetests --with-xunit --xunit-file=nosetests.xml \ - --with-coverage3 --cover3-xml \ + nosetests --with-xunit \ + --xunit-file={toxinidir}/nosetests.xml \ + --with-coverage3 --cover3-xml \ --cover3-html-dir={toxinidir}/cover \ --cover3-xml-file=coverage.xml @@ -53,7 +55,8 @@ basepython = python2.5 deps = -r{toxinidir}/requirements/default.txt -r{toxinidir}/requirements/test.txt commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir} - nosetests --with-xunit --xunit-file=nosetests.xml \ + nosetests --with-xunit \ + --xunit-file={toxinidir}/nosetests.xml \ --with-coverage3 --cover3-xml \ --cover3-html-dir={toxinidir}/cover \ --cover3-xml-file=coverage.xml @@ -65,7 +68,8 @@ deps = -r{toxinidir}/requirements/default.txt -r{toxinidir}/requirements/py24.txt -r{toxinidir}/requirements/test.txt commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir} - nosetests --with-xunit --xunit-file=nosetests.xml \ + nosetests --with-xunit \ + --xunit-file={toxinidir}/nosetests.xml \ --with-coverage3 --cover3-xml \ --cover3-html-dir={toxinidir}/cover \ --cover3-xml-file=coverage.xml @@ -76,7 +80,8 @@ basepython = pypy deps = -r{toxinidir}/requirements/default.txt -r{toxinidir}/requirements/test-pypy.txt commands = {toxinidir}/contrib/release/removepyc.sh {toxinidir} - nosetests --with-xunit --xunit-file=nosetests.xml \ + nosetests --with-xunit \ + --xunit-file={toxinidir}/nosetests.xml \ --with-coverage3 --cover3-xml \ --cover3-html-dir={toxinidir}/cover \ --cover3-xml-file=coverage.xml