dev-ruby/mecab-ruby: add rudimentary test

Signed-off-by: Alfred Wingate <parona@protonmail.com>
Part-of: https://codeberg.org/gentoo/gentoo/pulls/1457
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
Alfred Wingate
2026-07-19 07:42:59 +01:00
committed by Sam James
parent 657c5e053e
commit e8321bc0cc
@@ -1,4 +1,4 @@
# Copyright 1999-2024 Gentoo Authors
# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -29,6 +29,11 @@ each_ruby_compile() {
emake V=1
}
each_ruby_test() {
# Not a real test but rather a sample program. But it works as a quick smoke test
${RUBY} -I.:lib test.rb || die
}
each_ruby_install() {
emake DESTDIR="${D}" install
}