Page MenuHomeFreeBSD

Mk/Uses/python.mk: Add test support for pytest, unittest and unittest2
AbandonedPublic

Authored by sunpoet on Apr 26 2022, 5:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Oct 26 2024, 6:04 AM
Unknown Object (File)
Sep 18 2024, 5:38 AM
Unknown Object (File)
Aug 25 2024, 3:39 AM
Unknown Object (File)
Aug 15 2024, 7:06 AM
Unknown Object (File)
Aug 12 2024, 9:42 PM
Unknown Object (File)
Aug 8 2024, 9:06 PM
Unknown Object (File)
Jul 25 2024, 9:48 AM
Unknown Object (File)
Jul 13 2024, 4:58 PM
Subscribers

Details

Summary

This patch adds "make test" support for pytest, unittest and unittest2.

The pytest part was derived from USES=pytest (D34693). All user-facing variables are kept unchanged. USES=pytest can be simply changed to USE_PYTHON=pytest after this patch lands.

Test Plan

Run 'make test'

Diff Detail

Repository
R11 FreeBSD ports repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

sunpoet created this revision.

Preliminary support for "make test" for nose, nose2, pytest, unittest and unittest2 has been added to the ports tree on Jun 4, 2022.