git: c5f0394f8914 - main - deskutils/genius: Add tests
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 07 Mar 2026 18:45:34 UTC
The branch main has been updated by eduardo:
URL: https://cgit.FreeBSD.org/ports/commit/?id=c5f0394f89145b75a192b9188becd5ac6c94c005
commit c5f0394f89145b75a192b9188becd5ac6c94c005
Author: Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2026-03-07 18:43:45 +0000
Commit: Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2026-03-07 18:43:45 +0000
deskutils/genius: Add tests
---
deskutils/genius/Makefile | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/deskutils/genius/Makefile b/deskutils/genius/Makefile
index 1484f2328a64..79ea572797be 100644
--- a/deskutils/genius/Makefile
+++ b/deskutils/genius/Makefile
@@ -15,9 +15,10 @@ LIB_DEPENDS= libgmp.so:math/gmp \
libharfbuzz.so:print/harfbuzz \
libmpfr.so:math/mpfr
-USES= desktop-file-utils gettext-tools gmake gnome libtool pkgconfig \
- readline shared-mime-info tar:xz xorg
+USES= desktop-file-utils gettext-tools gmake gnome libtool perl5 \
+ pkgconfig readline shared-mime-info tar:xz xorg
USE_GNOME= intltool vte3
+USE_PERL5= test
USE_XORG= x11 xext
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-extra-gcc-optimization \
@@ -25,4 +26,7 @@ CONFIGURE_ARGS= --disable-extra-gcc-optimization \
--disable-update-mimedb
INSTALL_TARGET= install-strip
+do-test:
+ cd ${WRKSRC}/src; ${PERL} geniustest.pl
+
.include <bsd.port.mk>