Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2021 18:12:35 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567183 - head/security/py-asyncssh
Message-ID:  <202103031812.123ICZTj052026@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Mar  3 18:12:35 2021
New Revision: 567183
URL: https://svnweb.freebsd.org/changeset/ports/567183

Log:
  Update do-test:
  
  It removes the warning message:
  WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox.

Modified:
  head/security/py-asyncssh/Makefile

Modified: head/security/py-asyncssh/Makefile
==============================================================================
--- head/security/py-asyncssh/Makefile	Wed Mar  3 18:12:31 2021	(r567182)
+++ head/security/py-asyncssh/Makefile	Wed Mar  3 18:12:35 2021	(r567183)
@@ -39,6 +39,6 @@ PKCS11_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}python-pkcs
 PYOPENSSL_RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}openssl>=17.0.0:security/py-openssl@${PY_FLAVOR}
 
 do-test:
-	@cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+	cd ${WRKSRC} && ${PYTHON_CMD} -m unittest -v
 
 .include <bsd.port.mk>



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