git: cf29fec83b34 - main - lang/eisl: Add test target

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 26 Jul 2022 08:15:10 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=cf29fec83b34ae11ecf261930aa469e63af6e8dc

commit cf29fec83b34ae11ecf261930aa469e63af6e8dc
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2022-07-26 08:14:06 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-07-26 08:15:07 +0000

    lang/eisl: Add test target
---
 lang/eisl/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lang/eisl/Makefile b/lang/eisl/Makefile
index 882b4c6c2963..480fb19df85e 100644
--- a/lang/eisl/Makefile
+++ b/lang/eisl/Makefile
@@ -1,6 +1,7 @@
 PORTNAME=	eisl
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.50-114
+PORTREVISION=	1
 DISTVERSIONSUFFIX=	-g1216d9e
 CATEGORIES=	lang devel
 
@@ -12,12 +13,15 @@ LICENSE_FILE=	${WRKSRC}/documents/license.txt
 
 BROKEN_riscv64=	hard-float 'd' ABI can't be used for a target that doesn't support the D instruction set extension (ignoring target-abi)
 
-USES=		gmake ncurses:base
+TEST_DEPENDS=	cppcheck:devel/cppcheck
+
+USES=		gmake ncurses:port # port because tests need ncurses6-config
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	sasagawa888
 
 ALL_TARGET=	${PORTNAME}
+TEST_TARGET=	check # tests print some errors and warnings, see https://github.com/sasagawa888/eisl/issues/181#issuecomment-1195147029
 
 MAKEFILE=	makefile