dev-python/testscenarios: Fix ignoring test failures
authorMichał Górny <mgorny@gentoo.org>
Fri, 20 Apr 2018 19:00:25 +0000 (21:00 +0200)
committerMichał Górny <mgorny@gentoo.org>
Fri, 20 Apr 2018 19:06:35 +0000 (21:06 +0200)
Closes: https://bugs.gentoo.org/611768

dev-python/testscenarios/testscenarios-0.5.0.ebuild

index 280aabdbe07087ee3be86d5aa12c3fbaddf2d494..104483ba87a271b81a5fd1075ffa2c57597e86ee 100644 (file)
@@ -30,5 +30,5 @@ python_prepare_all() {
 }
 
 python_test() {
-       "${PYTHON}" -m unittest discover
+       "${PYTHON}" -m unittest discover || die "Tests fail with ${EPYTHON}"
 }