From owner-svn-ports-head@FreeBSD.ORG Wed Jun 3 07:21:21 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B150E9FA; Wed, 3 Jun 2015 07:21:21 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9F7951C6E; Wed, 3 Jun 2015 07:21:21 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t537LL55067621; Wed, 3 Jun 2015 07:21:21 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t537LK0V067616; Wed, 3 Jun 2015 07:21:20 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201506030721.t537LK0V067616@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Wed, 3 Jun 2015 07:21:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r388424 - in head/devel: . py-pytest-xdist X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Jun 2015 07:21:21 -0000 Author: koobs Date: Wed Jun 3 07:21:19 2015 New Revision: 388424 URL: https://svnweb.freebsd.org/changeset/ports/388424 Log: [NEW] devel/py-pytest-xdist: Py.test plugin for distributed testing The pytest-xdist plugin extends py.test with some unique test execution modes: * Test run parallelization: if you have multiple CPUs or hosts you can use those for a combined test run. This allows to speed up development or to use special resources of remote machines. * --boxed: (not available on Windows) run each test in a boxed subprocess to survive SEGFAULTS or otherwise dying processes * --looponfail: run your tests repeatedly in a subprocess. After each run py.test waits until a file in your project changes and then re-runs the previously failing tests. This is repeated until all tests pass after which again a full run is performed. * Multi-Platform coverage: you can specify different Python interpreters or different platforms and run tests in parallel on all of them. WWW: http://bitbucket.org/hpk42/pytest-xdist Added: head/devel/py-pytest-xdist/ head/devel/py-pytest-xdist/Makefile (contents, props changed) head/devel/py-pytest-xdist/distinfo (contents, props changed) head/devel/py-pytest-xdist/pkg-descr (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Wed Jun 3 06:27:55 2015 (r388423) +++ head/devel/Makefile Wed Jun 3 07:21:19 2015 (r388424) @@ -4045,6 +4045,7 @@ SUBDIR += py-pytest-capturelog SUBDIR += py-pytest-runner SUBDIR += py-pytest-timeout + SUBDIR += py-pytest-xdist SUBDIR += py-python-jenkins SUBDIR += py-python-statsd SUBDIR += py-pythonbrew Added: head/devel/py-pytest-xdist/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-xdist/Makefile Wed Jun 3 07:21:19 2015 (r388424) @@ -0,0 +1,28 @@ +# Created by: Kubilay Kocak +# $FreeBSD$ + +PORTNAME= pytest-xdist +PORTVERSION= 1.12 +CATEGORIES= devel python +MASTER_SITES= CHEESESHOP +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= koobs@FreeBSD.org +COMMENT= Py.test plugin for distributed testing + +LICENSE= MIT +LICENSE_FILE= ${WRKSRC}/LICENSE + +RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}execnet>=1.1:${PORTSDIR}/sysutils/py-execnet \ + ${PYTHON_PKGNAMEPREFIX}pytest>=2.4.2:${PORTSDIR}/devel/py-pytest \ + ${PYTHON_PKGNAMEPREFIX}py>=1.4.22:${PORTSDIR}/devel/py-py +TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>=2.5.1:${PORTSDIR}/devel/py-pytest \ + ${PYTHON_PKGNAMEPREFIX}pexpect>0:${PORTSDIR}/misc/py-pexpect + +USES= python +USE_PYTHON= autoplist distutils + +regression-test: build + @cd ${WRKSRC} && ${PYTHON_CMD} -m pytest + +.include Added: head/devel/py-pytest-xdist/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-xdist/distinfo Wed Jun 3 07:21:19 2015 (r388424) @@ -0,0 +1,2 @@ +SHA256 (pytest-xdist-1.12.tar.gz) = 1e696df146e62564fef2f0a7dabdd2d8f690fe6d68cb7aab0a1a4bd99e041580 +SIZE (pytest-xdist-1.12.tar.gz) = 39123 Added: head/devel/py-pytest-xdist/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/py-pytest-xdist/pkg-descr Wed Jun 3 07:21:19 2015 (r388424) @@ -0,0 +1,15 @@ +The pytest-xdist plugin extends py.test with some unique test execution modes: + + * Test run parallelization: if you have multiple CPUs or hosts you can use + those for a combined test run. This allows to speed up development or to + use special resources of remote machines. + * --boxed: (not available on Windows) run each test in a boxed subprocess + to survive SEGFAULTS or otherwise dying processes + * --looponfail: run your tests repeatedly in a subprocess. After each run + py.test waits until a file in your project changes and then re-runs the + previously failing tests. This is repeated until all tests pass after + which again a full run is performed. + * Multi-Platform coverage: you can specify different Python interpreters + or different platforms and run tests in parallel on all of them. + +WWW: http://bitbucket.org/hpk42/pytest-xdist