From 7ebb9f5de8c1784e402047cf49a061e8ce7ce500 Mon Sep 17 00:00:00 2001 From: Andrey Utkin Date: Mon, 14 Dec 2020 12:53:35 +0000 Subject: dev-python/slixmpp: run tests the right way Upstream means the tests appropriate for this phase to be invoked via ./run_tests.py . Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Andrey Utkin --- dev-python/slixmpp/slixmpp-1.5.2.ebuild | 4 +++- dev-python/slixmpp/slixmpp-9999.ebuild | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'dev-python/slixmpp') diff --git a/dev-python/slixmpp/slixmpp-1.5.2.ebuild b/dev-python/slixmpp/slixmpp-1.5.2.ebuild index 64f1fc02263a..4bdc2f5616c8 100644 --- a/dev-python/slixmpp/slixmpp-1.5.2.ebuild +++ b/dev-python/slixmpp/slixmpp-1.5.2.ebuild @@ -31,4 +31,6 @@ RDEPEND=" ${DEPEND} " -distutils_enable_tests pytest +python_test() { + "${EPYTHON}" ./run_tests.py || die "Tests failed with ${EPYTHON}" +} diff --git a/dev-python/slixmpp/slixmpp-9999.ebuild b/dev-python/slixmpp/slixmpp-9999.ebuild index 64f1fc02263a..4bdc2f5616c8 100644 --- a/dev-python/slixmpp/slixmpp-9999.ebuild +++ b/dev-python/slixmpp/slixmpp-9999.ebuild @@ -31,4 +31,6 @@ RDEPEND=" ${DEPEND} " -distutils_enable_tests pytest +python_test() { + "${EPYTHON}" ./run_tests.py || die "Tests failed with ${EPYTHON}" +} -- cgit v1.2.3-65-gdbad