dev-python/authres: Fix discarding test results
authorMichał Górny <mgorny@gentoo.org>
Thu, 20 Apr 2017 16:54:12 +0000 (18:54 +0200)
committerMichał Górny <mgorny@gentoo.org>
Thu, 20 Apr 2017 17:01:15 +0000 (19:01 +0200)
dev-python/authres/authres-0.800.ebuild

index 55c96f6a64840b6ccf7b7f6b09c4791619592473..842efa83b56e9b074ca8469240dd387526c9f19f 100644 (file)
@@ -17,5 +17,5 @@ IUSE=""
 
 python_test() {
        "${PYTHON}" -c "import sys, ${PN}, doctest; f, t = doctest.testfile('${PN}/tests'); \
-               sys.exit(bool(f))" || return
+               sys.exit(bool(f))" || die "Tests fail with ${EPYTHON}"
 }