Page MenuHomeFreeBSD

packages: Remove the tests-dev package
ClosedPublic

Authored by ivy on Wed, Sep 17, 6:56 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Oct 10, 4:04 AM
Unknown Object (File)
Thu, Oct 9, 10:50 PM
Unknown Object (File)
Thu, Oct 9, 10:50 PM
Unknown Object (File)
Thu, Oct 9, 10:50 PM
Unknown Object (File)
Thu, Oct 9, 7:19 PM
Unknown Object (File)
Sat, Oct 4, 5:55 PM
Unknown Object (File)
Sat, Oct 4, 1:49 PM
Unknown Object (File)
Sat, Oct 4, 10:23 AM

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 Skipped
Unit
Tests Skipped
Build Status
Buildable 67130
Build 64013: arc lint + arc unit

Event Timeline

ivy requested review of this revision.Wed, Sep 17, 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.Wed, Sep 17, 8:03 PM
This revision was automatically updated to reflect the committed changes.