Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 6 Apr 2020 19:31:13 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r530922 - head/games/openra
Message-ID:  <202004061931.036JVD4U070684@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



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