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:
@@ -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
|
||||
|
||||
@@ -0,0 +1,5 @@
|
||||
comment = "System test suite"
|
||||
|
||||
desc = <<EOD
|
||||
This metapackage installs the system test suite.
|
||||
EOD
|
||||
@@ -2,3 +2,7 @@ comment = "Test Suite"
|
||||
desc = <<EOD
|
||||
Test Suite
|
||||
EOD
|
||||
|
||||
annotations {
|
||||
set = tests
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user