diff options
| author | Ned Batchelder <ned@nedbatchelder.com> | 2012-07-09 22:34:59 -0400 |
|---|---|---|
| committer | Ned Batchelder <ned@nedbatchelder.com> | 2012-07-09 22:34:59 -0400 |
| commit | 311710cd17563ab4db742a4bc979b449e88c6c12 (patch) | |
| tree | 0a16443518acc29abedce9df91378dcae1e0e5e8 /tox.ini | |
| parent | c597750cb3dbfc737bd69248d80391068a25541d (diff) | |
| download | python-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.ini | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -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 |
