commit:     6d65ab6b405cba9412c6e1eb91859920e2aafd7e
Author:     Brahmajit Das <listout <AT> listout <DOT> xyz>
AuthorDate: Sun Dec 14 15:07:09 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Feb 11 01:58:42 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d65ab6b

sys-fs/lvm2: enable unit tests

Signed-off-by: Brahmajit Das <listout <AT> listout.xyz>
Part-of: https://github.com/gentoo/gentoo/pull/45000
Closes: https://github.com/gentoo/gentoo/pull/45000
Signed-off-by: Sam James <sam <AT> gentoo.org>

 sys-fs/lvm2/lvm2-2.03.37.ebuild | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys-fs/lvm2/lvm2-2.03.37.ebuild b/sys-fs/lvm2/lvm2-2.03.37.ebuild
index 141827c53f2f..9a5d986eaf87 100644
--- a/sys-fs/lvm2/lvm2-2.03.37.ebuild
+++ b/sys-fs/lvm2/lvm2-2.03.37.ebuild
@@ -206,8 +206,12 @@ src_compile() {
 }
 
 src_test() {
-       einfo "Tests are disabled because of device-node mucking, if you want 
to"
-       einfo "run tests, compile the package and see ${S}/tests"
+       einfo "Tests other than unit tests are disabled because of device-node"
+       einfo "mucking, run tests, compile the package and see ${S}/tests"
+
+       # run only unit tests
+       cd "${S}"/test || die
+       emake -j1 run-unit-test
 }
 
 src_install() {

Reply via email to