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)
Tue, Jun 18, 10:22 PM
Unknown Object (File)
Sat, Jun 15, 4:17 AM
Unknown Object (File)
Mon, Jun 10, 1:51 PM
Unknown Object (File)
Fri, Jun 7, 1:42 AM
Unknown Object (File)
Mon, Jun 3, 6:06 AM
Unknown Object (File)
Apr 15 2024, 10:24 PM
Unknown Object (File)
Apr 15 2024, 8:29 PM
Unknown Object (File)
Apr 15 2024, 7:57 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.