summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2012-12-21 07:40:45 -0500
committerNed Batchelder <ned@nedbatchelder.com>2012-12-21 07:40:45 -0500
commiteed4a210a874491a031a0919f7ae95a7caab8070 (patch)
tree74511a46c1d71124c870b77b4e411663532555e1 /tox.ini
parent90170a258e53eb7fbe964ddc2dcf7d85718cd0bb (diff)
downloadpython-coveragepy-eed4a210a874491a031a0919f7ae95a7caab8070.tar.gz
The egg test wasn't working properly. Thanks, py2.3, for pointing this out
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini9
1 files changed, 4 insertions, 5 deletions
diff --git a/tox.ini b/tox.ini
index a14c67c..a09ddbb 100644
--- a/tox.ini
+++ b/tox.ini
@@ -7,16 +7,16 @@
envlist = py25, py26, py27, py31, py32, py33, pypy
[testenv]
-setenv =
- PYTHONPATH=test/eggsrc
-
commands =
{envpython} setup.py --quiet clean develop
# Create test/zipmods.zip
+ # Install the egg1 egg
# Remove the C extension so that we can test the PyTracer
+ {envpython} igor.py zip_mods install_egg remove_extension
+
# Test with the PyTracer
- {envpython} igor.py zip_mods remove_extension test_with_tracer py {posargs}
+ {envpython} igor.py test_with_tracer py {posargs}
# Build the C extension and test with the CTracer
{envpython} setup.py --quiet build_ext --inplace
@@ -29,5 +29,4 @@ deps =
[testenv:pypy]
# PyPy has no C extensions
setenv =
- PYTHONPATH=test/eggsrc
COVERAGE_NO_EXTENSION=1