Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2021 18:12:53 +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: r567187 - head/textproc/py-diff-match-patch
Message-ID:  <202103031812.123ICrJp052413@repo.freebsd.org>

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

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/textproc/py-diff-match-patch/Makefile

Modified: head/textproc/py-diff-match-patch/Makefile
==============================================================================
--- head/textproc/py-diff-match-patch/Makefile	Wed Mar  3 18:12:48 2021	(r567186)
+++ head/textproc/py-diff-match-patch/Makefile	Wed Mar  3 18:12:52 2021	(r567187)
@@ -22,6 +22,6 @@ python_OLD_CMD=	/usr/bin/python[0-9\.]*
 SHEBANG_GLOB=	*.py
 
 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.123ICrJp052413>