summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-07-09 22:34:59 -0400
committerNed Batchelder <ned@nedbatchelder.com>2012-07-09 22:34:59 -0400
commit311710cd17563ab4db742a4bc979b449e88c6c12 (patch)
tree0a16443518acc29abedce9df91378dcae1e0e5e8 /tox.ini
parentc597750cb3dbfc737bd69248d80391068a25541d (diff)
downloadpython-coveragepy-311710cd17563ab4db742a4bc979b449e88c6c12.tar.gz
A crude Python script to make all tox commands runnable from the virtualenv.
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini11
1 files changed, 6 insertions, 5 deletions
diff --git a/tox.ini b/tox.ini
index b67d5f2..6d13c4c 100644
--- a/tox.ini
+++ b/tox.ini
@@ -4,7 +4,7 @@
# and then run "tox" from this directory.
[tox]
-envlist = py24, py25, py26, py27, py32, py33, pypy
+envlist = py24, py25, py26, py27, py31, py32, py33, pypy
[testenv]
setenv = PYTHONPATH=test/eggsrc
@@ -13,15 +13,16 @@ commands =
{envpython} setup.py develop
# Create test/zipmods.zip
- make testdata
+ {envpython} servant.py zip_mods
# Remove tracer.so so that we can test the PyTracer
- rm {toxinidir}/coverage/tracer.so
+ {envpython} servant.py remove_extension
# Test with the PyTracer
- env COVERAGE_TEST_TRACER="py" nosetests -w {toxinidir}
+ {envpython} servant.py test_with_tracer py
# Build tracer.so and test with the CTracer
{envpython} setup.py build_ext --inplace
- env COVERAGE_TEST_TRACER="c" nosetests -w {toxinidir}
+ {envpython} servant.py test_with_tracer c
+
deps = nose