1 |
commit: bf85aa03a518468276ebe04318fd1d09bd10a56f |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jul 30 07:02:34 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jul 30 07:24:41 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf85aa03 |
7 |
|
8 |
dev-python/pyaes: Fix running all tests |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-python/pyaes/pyaes-1.6.1.ebuild | 7 ++++++- |
13 |
1 file changed, 6 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/dev-python/pyaes/pyaes-1.6.1.ebuild b/dev-python/pyaes/pyaes-1.6.1.ebuild |
16 |
index dccde7bbabe..26c32d780fb 100644 |
17 |
--- a/dev-python/pyaes/pyaes-1.6.1.ebuild |
18 |
+++ b/dev-python/pyaes/pyaes-1.6.1.ebuild |
19 |
@@ -19,5 +19,10 @@ IUSE="" |
20 |
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" |
21 |
|
22 |
python_test() { |
23 |
- ${EPYTHON} tests/test-{aes,blockfeeder,util}.py || die |
24 |
+ local t fail= |
25 |
+ for t in tests/test-*.py; do |
26 |
+ einfo "${t}" |
27 |
+ "${EPYTHON}" "${t}" || fail=1 |
28 |
+ done |
29 |
+ [[ ${fail} ]] && die "Tests fail with ${EPYTHON}" |
30 |
} |