summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'eclass/distutils-r1.eclass')
-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 655a33e0d208..b8b77103c0cb 100644
--- a/eclass/distutils-r1.eclass
+++ b/eclass/distutils-r1.eclass
@@ -426,6 +426,7 @@ distutils_enable_tests() {
setup.py)
;;
unittest)
+ test_pkg="dev-python/unittest-or-fail"
;;
*)
die "${FUNCNAME}: unsupported argument: ${1}"
@@ -830,7 +831,7 @@ distutils-r1_python_test() {
nonfatal esetup.py test --verbose
;;
unittest)
- "${EPYTHON}" -m unittest discover -v
+ eunittest
;;
*)
die "Mis-synced test runner between ${FUNCNAME} and distutils_enable_testing"