dev-python/pyaes: Fix running all tests
authorMichał Górny <mgorny@gentoo.org>
Tue, 30 Jul 2019 07:02:34 +0000 (09:02 +0200)
committerMichał Górny <mgorny@gentoo.org>
Tue, 30 Jul 2019 07:24:41 +0000 (09:24 +0200)
Signed-off-by: Michał Górny <mgorny@gentoo.org>
dev-python/pyaes/pyaes-1.6.1.ebuild

index dccde7bbabe1c8b856f804225d9fdb859f1d0f6d..26c32d780fb3db84b0694289f16edcda525524b0 100644 (file)
@@ -19,5 +19,10 @@ IUSE=""
 DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
 
 python_test() {
-       ${EPYTHON} tests/test-{aes,blockfeeder,util}.py || die
+       local t fail=
+       for t in tests/test-*.py; do
+               einfo "${t}"
+               "${EPYTHON}" "${t}" || fail=1
+       done
+       [[ ${fail} ]] && die "Tests fail with ${EPYTHON}"
 }