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)
Sat, Sep 5, 7:46 AM
Unknown Object (File)
Thu, Sep 3, 4:55 AM
Unknown Object (File)
Thu, Sep 3, 12:05 AM
Unknown Object (File)
Tue, Sep 1, 3:56 AM
Unknown Object (File)
Mon, Aug 31, 11:38 PM
Unknown Object (File)
Sat, Aug 29, 12:22 PM
Unknown Object (File)
Sat, Aug 22, 1:10 PM
Unknown Object (File)
Tue, Aug 11, 11:45 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
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 46121
Build 43010: arc lint + arc unit