Skip to content

Commit

Permalink
dev-python/isodate: fix test phase
Browse files Browse the repository at this point in the history
Bug: https://bugs.gentoo.org/607184
Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69
  • Loading branch information
floppym committed Jun 3, 2017
1 parent c7f0b12 commit f74016d
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions dev-python/isodate/isodate-0.5.4.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -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}"
}

0 comments on commit f74016d

Please sign in to comment.