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)
Thu, Jul 25, 9:48 AM
Unknown Object (File)
Sat, Jul 13, 4:58 PM
Unknown Object (File)
Jun 18 2024, 10:22 PM
Unknown Object (File)
Jun 15 2024, 4:17 AM
Unknown Object (File)
Jun 10 2024, 1:51 PM
Unknown Object (File)
Jun 7 2024, 1:42 AM
Unknown Object (File)
Jun 3 2024, 6:06 AM
Unknown Object (File)
Apr 15 2024, 10:24 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.