The problem I mentioned here still appears to be happening.
I'd like to start using nose's parallel testing to speed up Pillow's tests on Travis CI.
It looks like the
--include=diris ignored with
Currently it does something like this (using Coverage 4) (before some later processing to include C coverage, but let's ignore that for now).
coverage erase coverage run --append --include=PIL/* selftest.py coverage run --append --include=PIL/* -m nose -vx Tests/test_*.py coverage report
coverage report only lists files under PIL/ as expected, coverage is 81% (1863 missed of 9572). For example:
To use nose's parallel testing, I added
--processes=-1 --process-timeout=600 to
nose, and then add
coverage, and run
coverage combine at the end:
coverage erase coverage run --include=PIL/* selftest.py coverage run --include=PIL/* --concurrency=multiprocessing -m nose -vx --processes=-1 --process-timeout=600 Tests/test_*.py coverage combine coverage report
Nose runs the 670 tests in parallel, they take under 16 seconds instead of over 60 seconds.
--include=PIL/* is being ignored as
coverage report gives 43% coverage, 14431 of 28344 lines missed, and also lists files under Tests/ and /home/travis/virtualenv/python2.7.9/ which isn't desired. For example: