Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Apr 2017 17:55:36 +1000
From:      Kubilay Kocak <koobs@FreeBSD.org>
To:        Antoine Brodin <antoine@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, python <python@FreeBSD.org>
Subject:   Re: svn commit: r439567 - head/devel/py-ordered-set
Message-ID:  <8ee5d99d-8987-7d83-133d-a10526b50ba3@FreeBSD.org>
In-Reply-To: <201704272112.v3RLClvb069506@repo.freebsd.org>
References:  <201704272112.v3RLClvb069506@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4/28/17 7:12 AM, Antoine Brodin wrote:
> +do-test:
> +	@(cd ${TEST_WRKSRC} && ${SETENV} ${TEST_ENV} nosetests-${PYTHON_VER})
> +

Another way to do this using an explicit python version that doesn't
rely on version-suffixed script names (created either by the framework
or provided by upstreams) is:

${PYTHON_CMD} -m nose, OR better

${PYTHON_CMD} ${PYDISTUTILS_SETUP} nosetests

The nosetest command is added to setup.py as a supported argument when
nose is installed



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8ee5d99d-8987-7d83-133d-a10526b50ba3>