Page MenuHomeFreeBSD

testing: move atf-pytest-wrapper to /usr/libexec
ClosedPublic

Authored by melifaro on Jun 26 2022, 11:47 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jan 27, 4:39 PM
Unknown Object (File)
Fri, Jan 24, 5:23 PM
Unknown Object (File)
Wed, Jan 22, 9:49 PM
Unknown Object (File)
Fri, Jan 17, 1:15 PM
Unknown Object (File)
Jan 5 2025, 2:19 AM
Unknown Object (File)
Dec 28 2024, 5:55 AM
Unknown Object (File)
Dec 1 2024, 3:00 PM
Unknown Object (File)
Nov 25 2024, 11:49 AM

Details

Summary

D31084 put atf-pytest-wrapper in the /usr/tests. It is causing problems with distribution target.
While this can be fixed by altering DISTRIBUTION, ${PACKAGE}FILESDIR and a couple of other variables in the Makefile, it doesn't look like a proper way of doing things.
Target Makefile would need to replicate some logics from bsd.test.mk which is not desired.

Instead, switch to a cleaner approach by moving this wrapper to the atf-sh wrapper in libexec/atf.
This way it's logically tied to our in-base version of atf and constantly installed with other atf wrappers to /usr/libexec.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable