Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-websupport/
Date: Mon, 01 Jan 2018 10:08:56
Message-Id: 1514801321.fa1773b3438092fc249607a599b2ef9f10ed9be2.mgorny@gentoo
1 commit: fa1773b3438092fc249607a599b2ef9f10ed9be2
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 1 09:43:40 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Jan 1 10:08:41 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa1773b3
7
8 dev-python/sphinxcontrib-websupport: Make tests fatal
9
10 .../sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1-r1.ebuild | 4 ++--
11 1 file changed, 2 insertions(+), 2 deletions(-)
12
13 diff --git a/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1-r1.ebuild b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1-r1.ebuild
14 index 77893f37777..acee6d134de 100644
15 --- a/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1-r1.ebuild
16 +++ b/dev-python/sphinxcontrib-websupport/sphinxcontrib-websupport-1.0.1-r1.ebuild
17 @@ -38,6 +38,6 @@ python_install_all() {
18 find "${ED}" -name '*.pth' -delete || die
19 }
20
21 -python_test(){
22 - ${EPYTHON} -m pytest tests/
23 +python_test() {
24 + "${EPYTHON}" -m pytest tests/ || die "Tests fail with ${EPYTHON}"
25 }