svn commit: r530922 - head/games/openra

Jan Beich jbeich at FreeBSD.org
Mon Apr 6 19:31:13 UTC 2020


Author: jbeich
Date: Mon Apr  6 19:31:13 2020
New Revision: 530922
URL: https://svnweb.freebsd.org/changeset/ports/530922

Log:
  games/openra: drop non-unit tests
  
  Checking style and mod data is only useful upstream.

Modified:
  head/games/openra/Makefile   (contents, props changed)

Modified: head/games/openra/Makefile
==============================================================================
--- head/games/openra/Makefile	Mon Apr  6 19:31:03 2020	(r530921)
+++ head/games/openra/Makefile	Mon Apr  6 19:31:13 2020	(r530922)
@@ -55,11 +55,6 @@ INSTALL_TARGET=	install install-man-page \
 		install-linux-mime install-linux-shortcuts
 PORTDATA=	*
 
-OPTIONS_DEFINE=	TEST
-
-TEST_MAKE_ENV=	HOME="${WRKDIR}"
-TEST_ALL_TARGET=test
-
 post-patch:
 	${REINPLACE_CMD} \
 		-e 's/ -verbosity:m//' \
@@ -70,5 +65,10 @@ post-patch:
 	${SED} 's/@LIBLUA51@/liblua-${LUA_VER}.so/' \
 		${WRKSRC}/thirdparty/Eluant.dll.config.in \
 		>${WRKSRC}/Eluant.dll.config
+
+do-test:
+	@(cd ${TEST_WRKSRC} && mono \
+		${NUGET_PACKAGEDIR}/NUnit.ConsoleRunner/tools/nunit3-console.exe \
+		--noresult OpenRA.Test.nunit)
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list