git: 99aa5e1da0ea - main - devel/lyra: Add tests.

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Fri, 19 Nov 2021 23:29:41 UTC
The branch main has been updated by yuri:

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

commit 99aa5e1da0ea6a39a0ecad3871a3d1613e318b30
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-11-19 23:29:11 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-11-19 23:29:39 +0000

    devel/lyra: Add tests.
---
 devel/lyra/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/devel/lyra/Makefile b/devel/lyra/Makefile
index 544338b16bd5..ec1dc2100552 100644
--- a/devel/lyra/Makefile
+++ b/devel/lyra/Makefile
@@ -9,6 +9,8 @@ COMMENT=	Command line parser for C++11
 LICENSE=	BSL
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+TEST_DEPENDS=	b2:devel/boost_build
+
 USES=		cmake compiler:c++11-lang
 
 USE_GITHUB=	yes
@@ -17,4 +19,7 @@ GH_PROJECT=	Lyra
 
 NO_ARCH=	yes
 
+do-test: install # one test fails: https://github.com/bfgroup/Lyra/issues/57
+	@cd ${WRKSRC}/tests && b2 toolset=clang
+
 .include <bsd.port.mk>