commit: abbfdfa9896c77825e210adf324217c21da871ef Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> AuthorDate: Thu Oct 29 22:23:39 2020 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Thu Oct 29 22:24:17 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=abbfdfa9
sys-apps/systemd-tmpfiles: run only relevant tests Closes: https://bugs.gentoo.org/751811 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild index 598a38f04a8..f9046b8f39c 100644 --- a/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild +++ b/sys-apps/systemd-tmpfiles/systemd-tmpfiles-246.ebuild @@ -168,6 +168,14 @@ src_install() { newconfd "${FILESDIR}"/stmpfiles.confd stmpfiles-setup } +src_test() { + # selection of relevant tests + # unfortunately full suite will be built to run tests, but we still + # install just what we need and not a bit more. + local tests=( test-{acl-util,tmpfiles,chase-symlinks,path} ) + meson_src_test "${tests[@]}" +} + # adapted from opentmpfiles ebuild add_service() { local initd=$1