mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-07-31 10:58:21 -07:00
dev-python/isodate: fix test phase
Bug: https://bugs.gentoo.org/607184 Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69
This commit is contained in:
@@ -19,15 +19,5 @@ IUSE=""
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
local testfile
|
||||
pushd "${BUILD_DIR}"/lib/ || die
|
||||
for test in ${PN}/tests/test_*.py; do
|
||||
if ! "${PYTHON}" "${testfile}"; then
|
||||
die "Test ${testfile} failed under ${EPYTHON}"
|
||||
fi
|
||||
done
|
||||
|
||||
# Give some order to the output salad.
|
||||
einfo "Testsuite passed under ${EPYTHON}";
|
||||
einfo ""
|
||||
${EPYTHON} -m unittest discover -v -s "${BUILD_DIR}/lib" || die "Testing failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user