Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2019 04:27:15 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Kubilay Kocak <koobs@FreeBSD.org>
Cc:        Enji Cooper <ngie@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, python <python@FreeBSD.org>
Subject:   Re: svn commit: r517602 - head/devel/py-mock
Message-ID:  <imnl-250s-wny@FreeBSD.org>
In-Reply-To: <6f252ffe-9e8d-3bb7-fe48-baccda10012d@FreeBSD.org> (Kubilay Kocak's message of "Fri, 15 Nov 2019 12:05:18 %2B1100")
References:  <201911141711.xAEHBwBO077712@repo.freebsd.org> <6f252ffe-9e8d-3bb7-fe48-baccda10012d@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Kubilay Kocak <koobs@FreeBSD.org> writes:

> The canonical pytest invocation is:
>
> cd ${WRKSRC} && ${PYTHON_CMD} -m pytest -v -rs -o addopts=

For a canonical it is uncommon. Besides, you've made mistakes:
- No braces around `cd` compared to what Porter's Handbook recommends
- No TEST_ENV in case tests need TZ=UTC, LANG=en_US.UTF-8, etc.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?imnl-250s-wny>