diff options
author | Tim Harder <radhermit@gmail.com> | 2015-03-29 09:04:02 -0400 |
---|---|---|
committer | Tim Harder <radhermit@gmail.com> | 2015-03-29 09:04:02 -0400 |
commit | 8868a05cd1f60508c55b67ead258321d6806cd1f (patch) | |
tree | b96694df0d6d86deefaafe3bb78aa45d93949c28 /tox.ini | |
parent | use generic glob for ignoring C extension shared objects (diff) | |
download | pkgcore-8868a05cd1f60508c55b67ead258321d6806cd1f.tar.gz pkgcore-8868a05cd1f60508c55b67ead258321d6806cd1f.tar.bz2 pkgcore-8868a05cd1f60508c55b67ead258321d6806cd1f.zip |
allow individual tests to be run via tox
Usage: tox -- path/to/test
or any other arguments to pass to pytest.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -15,7 +15,7 @@ commands = pip install git+https://github.com/pkgcore/snakeoil.git --install-option="--install-headers={envdir}/include/snakeoil"; \ python setup.py build_ext -I {envdir}/include build -b {envdir}/build --disable-man-pages --disable-html-docs install --disable-man-pages --disable-html-docs; \ pushd {envsitepackagesdir}; \ - coverage run --source pkgcore --omit "pkgcore/test/*" -m py.test pkgcore/test; \ + coverage run --source pkgcore --omit "pkgcore/test/*" -m py.test {posargs:pkgcore/test}; \ coverage report -m; \ coverage html -d {envdir}/coverage; \ popd' |