packages: remove tests from base set

Create a new tests package set to hold the tests, which are not useful
to all users and don't belong in the base set.

Reviewed by:	emaste, ivy
Sponsored by:	The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52574
This commit is contained in:
Isaac Freund
2025-09-16 15:01:09 +00:00
committed by Ed Maste
parent 87a78d9618
commit 36edc5014f
3 changed files with 13 additions and 0 deletions
+4
View File
@@ -191,6 +191,10 @@ elseif pkgname:match("%-lib32$") then
-- support or you don't.
elseif pkgname:match("%-dev$") or pkgname:match("^lib.*%-man$") then
set = "devel"
-- Don't separate tests and tests-dbg into 2 sets, if the user wants tests
-- they should be able to debug failures.
elseif set == "tests" then
set = set
-- If this is a -dbg package, it goes in <set>-dbg, which means the user can
-- install debug symbols only for the sets they have installed.
elseif pkgname:match("%-dbg$") then
+5
View File
@@ -0,0 +1,5 @@
comment = "System test suite"
desc = <<EOD
This metapackage installs the system test suite.
EOD
+4
View File
@@ -2,3 +2,7 @@ comment = "Test Suite"
desc = <<EOD
Test Suite
EOD
annotations {
set = tests
}