Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 May 2022 11:22:44 GMT
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 3aba0ba870ad - main - games/minetest: fix testing
Message-ID:  <202205231122.24NBMiie019122@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by amdmi3:

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

commit 3aba0ba870ad6d8ac13a4d680438f5f49029d204
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2022-05-23 11:01:06 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2022-05-23 11:20:09 +0000

    games/minetest: fix testing
---
 games/minetest/Makefile | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/games/minetest/Makefile b/games/minetest/Makefile
index a4a2aae35368..da5b41a3c88c 100644
--- a/games/minetest/Makefile
+++ b/games/minetest/Makefile
@@ -106,10 +106,12 @@ post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' \
 		${WRKSRC}/cmake/Modules/*.cmake
 
-do-test-CLIENT-on:
+do-test-TEST-on:
+.if ${PORT_OPTIONS:MCLIENT}
 	cd ${WRKDIR} && ${SETENV} ${TEST_ENV} ${STAGEDIR}${PREFIX}/bin/minetest --run-unittests
-
-do-test-SERVER-on:
+.endif
+.if ${PORT_OPTIONS:MSERVER}
 	cd ${WRKDIR} && ${SETENV} ${TEST_ENV} ${STAGEDIR}${PREFIX}/bin/minetestserver --run-unittests
+.endif
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202205231122.24NBMiie019122>