summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--eclass/distutils-r1.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/distutils-r1.eclass b/eclass/distutils-r1.eclass
index 51e99a009df1..254a25fd3a6e 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -416,7 +416,8 @@ distutils_enable_tests() {
;;
setup.py)
python_test() {
- esetup.py test --verbose
+ nonfatal esetup.py test --verbose ||
+ die "Tests fail with ${EPYTHON}"
}
;;
unittest)