[libvirt] [libvirt-python] [PATCH 0/2] Add tox.ini to run tests with tox

Eric Blake eblake at redhat.com
Wed Apr 22 13:56:58 UTC 2015


On 04/22/2015 07:06 AM, Victor Stinner wrote:
> Tox is a convinient tool creating virtual environment to install
> dependencies and run tests. To run all tests, just type "tox". To only
> test a specific Python version, use "tox -e py34" (Python 3.4).

Is it also worth hooking this into the Makefile, so that the existing
'make check' also runs tox?

Also, please run 'git config format.subjectprefix "python PATCH"' to
make it obvious that your patches are against libvirt-python.git instead
of libvirt.git.

> 
> Victor Stinner (2):
>   sanitytest.py parameters are now optional
>   Add tox.ini to run tests on Python 2.6, 2.7 & 3.4
> 
>  .gitignore    |  1 +
>  sanitytest.py | 23 ++++++++++++++++++-----
>  tox.ini       | 10 ++++++++++
>  3 files changed, 29 insertions(+), 5 deletions(-)
>  create mode 100644 tox.ini
> 
> --
> 2.1.0
> 
> --
> libvir-list mailing list
> libvir-list at redhat.com
> https://www.redhat.com/mailman/listinfo/libvir-list
> 
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 604 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20150422/eb1f71d8/attachment-0001.sig>


More information about the libvir-list mailing list