Page MenuHomeFreeBSD

packages: Remove the tests-dev package
ClosedPublic

Authored by ivy on Sep 17 2025, 6:56 PM.
Tags
None
Referenced Files
F156788211: D52597.id162274.diff
Sat, May 16, 9:34 AM
F156788159: D52597.id162274.diff
Sat, May 16, 9:34 AM
F156690993: D52597.diff
Fri, May 15, 5:27 PM
Unknown Object (File)
Wed, May 13, 7:30 PM
Unknown Object (File)
Wed, May 13, 6:41 PM
Unknown Object (File)
Wed, May 13, 5:25 PM
Unknown Object (File)
Wed, May 13, 4:42 PM
Unknown Object (File)
Mon, May 11, 1:12 PM

Details

Summary

We don't want a tests-dev package, because this means set-devel depends
on tests-dev, which transitively depends on tests, which means you can't
install set-devel without also getting tests.

The only real "dev" files in tests-dev are from ATF (libprivateatf),
so move that to its own package and add a dependency from tests.

The remaining "dev" files in tests are actually test artifacts, not real
development libraries. Add a new NO_DEV_PACKAGE option to bsd.lib.mk,
which causes dev files to be installed in the base package instead of
creating a -dev package, and set this option for everything that
installs test libraries.

While here, add a slightly more informative description for the tests
packages.

MFC after: 3 seconds

Diff Detail

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

Event Timeline

ivy requested review of this revision.Sep 17 2025, 6:56 PM

per IRC discussion, also move kyua to its own package, and add a depdendency from -tests to -set-base

This revision is now accepted and ready to land.Sep 17 2025, 8:03 PM
This revision was automatically updated to reflect the committed changes.