Re: PYTEST_ARGS isn't respected with pytest placed in USE_PYTHON
Charlie Li <[email protected]>
| Newsgroups | gmane.os.freebsd.devel.ports |
|---|---|
| Organization | FreeBSD Project |
| Message-ID | <[email protected]> |
Nuno Teixeira wrote:
> Hello,
>
> Just found that PYTEST_ARGS isn't respected when pytest is placed in
> USE_PYTHON instead of USES. pytest.mk <http://pytest.mk> could be
> misleading pointing its correct place in USES as I remember a big
> discussion about it long time ago. Anyway, I see no other python port
> using PYTEST_ARGS for comparison, I see that some ports uses pytest on
> both places and certainly I've spoted a bug.
>
> https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=289005 <https://
> bugs.freebsd.org/bugzilla/show_bug.cgi?id=289005>
>
USES=pytest should not be used in general; USE_PYTHON=pytest is the way.
There is currently no support for ${PYTEST_ARGS} in USES=python as
pytest has its own entry point, rather than pointing to arbitrary
file(s) for said entry point like the referenced port/bug.
--
Charlie Li
...nope, still don't have an exit line.
OpenPGP_signature.asc
(application/pgp-signature, 236 B)
-----BEGIN PGP SIGNATURE----- wnsEABYIACMWIQTHxcCLnAXo3rFg6k7P+1cn7slqBAUCaLisWgUDAAAAAAAKCRDP+1cn7slqBMWc AQCmEJctMOZxJu/CIXN2gizr+DUat0Qdx9Gvy8vy4k9f/QD8D7VhojU0n0XqFlWEqdTNZp89gDUJ R8hLI7JZ3KXRRQg= =XFJf -----END PGP SIGNATURE-----