Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Aug 2017 17:45:54 +0000 (UTC)
From:      Antoine Brodin <antoine@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r448633 - head/devel/py-pytest-cache
Message-ID:  <201708231745.v7NHjs0a012020@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: antoine
Date: Wed Aug 23 17:45:54 2017
New Revision: 448633
URL: https://svnweb.freebsd.org/changeset/ports/448633

Log:
  - Remove nonsense TESTS option
  - Mark architecture neutral
  - Use the framework for regression tests
  
  With hat:	portmgr

Modified:
  head/devel/py-pytest-cache/Makefile

Modified: head/devel/py-pytest-cache/Makefile
==============================================================================
--- head/devel/py-pytest-cache/Makefile	Wed Aug 23 17:44:44 2017	(r448632)
+++ head/devel/py-pytest-cache/Makefile	Wed Aug 23 17:45:54 2017	(r448633)
@@ -17,15 +17,10 @@ RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>=2.2:devel/
 		${PYTHON_PKGNAMEPREFIX}execnet>=1.2:sysutils/py-execnet
 TEST_DEPENDS=	${PYTHON_PKGNAMEPREFIX}pytest>0:devel/py-pytest
 
-OPTIONS_DEFINE=	TESTS
-
-TESTS_DESC=		Install test suite requirements
-TESTS_BUILD_DEPENDS=	${TEST_DEPENDS}
-
+NO_ARCH=	yes
 USES=		python
 USE_PYTHON=	autoplist distutils
-
-regression-test: build
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+DO_MAKE_TEST=	${SETENV} ${TEST_ENV} ${PYTHON_CMD} ${PYDISTUTILS_SETUP}
+TEST_TARGET=	test
 
 .include <bsd.port.mk>



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