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
commit9addc84bb39eddeccd31ee5a5f0fa387591e35dd (patch)
tree38d07a7c4e150ec765af25e3268376b84fd81c1a /tox.ini
parentfc38bf8526cb1717968a1958439da5fae4768375 (diff)
downloadpython-coveragepy-git-9addc84bb39eddeccd31ee5a5f0fa387591e35dd.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 a14c67cf..a09ddbbe 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