adjust tox.ini

--HG--
branch : trunk
This commit is contained in:
holger krekel 2010-07-06 12:04:22 +02:00
parent 2b13836efa
commit 48d818742c
1 changed files with 7 additions and 5 deletions

12
tox.ini
View File

@ -3,12 +3,13 @@ distshare={homedir}/.tox/distshare
[tox:hudson] [tox:hudson]
distshare={toxworkdir}/distshare distshare={toxworkdir}/distshare
sdistfile={distshare}/py-1.3.2a1.zip sdistsrc={distshare}/py-**LATEST**
[testenv] [testenv]
changedir=testing changedir=testing
commands= commands=
py.test --confcutdir=.. -rfsxX --junitxml=junit-{envname}.xml --tools-on-path [] py.test --confcutdir=.. -rfsxX \
--junitxml={envlogdir}/junit-{envname}.xml --tools-on-path []
deps= deps=
pexpect pexpect
[testenv:py27] [testenv:py27]
@ -20,7 +21,8 @@ basepython=python
deps=docutils deps=docutils
pygments pygments
changedir=doc changedir=doc
commands= py.test -rsfxX --confcutdir=.. --junitxml=junit-{envname}s.xml --forcegen commands= py.test -rsfxX --confcutdir=.. \
--junitxml={envlogdir}/junit-{envname}s.xml --forcegen
[testenv:py25] [testenv:py25]
basepython=python2.5 basepython=python2.5
[testenv:py24] [testenv:py24]
@ -35,6 +37,6 @@ changedir=testing
basepython=jython basepython=jython
commands= commands=
{envpython} {envbindir}/py.test-jython --confcutdir=.. \ {envpython} {envbindir}/py.test-jython --confcutdir=.. \
-rfsxX --junitxml=junit-{envname}1.xml [io_ code] -rfsxX --junitxml={envlogdir}/junit-{envname}1.xml [io_ code]
{envpython} {envbindir}/py.test-jython --confcutdir=.. \ {envpython} {envbindir}/py.test-jython --confcutdir=.. \
-rfsxX --junitxml=junit-{envname}2.xml acceptance_test.py plugin -rfsxX --junitxml={envlogdir}/junit-{envname}2.xml acceptance_test.py plugin