From: Michał Górny Date: Thu, 12 Jul 2018 18:36:45 +0000 (+0200) Subject: dev-python/sphinx: Make python_test() simpler X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=aa6fd714174d4291c3704bcf0e1f944560176348;p=gentoo.git dev-python/sphinx: Make python_test() simpler --- diff --git a/dev-python/sphinx/sphinx-1.7.5-r1.ebuild b/dev-python/sphinx/sphinx-1.7.5-r1.ebuild index b39431a75c07..86a61f664a74 100644 --- a/dev-python/sphinx/sphinx-1.7.5-r1.ebuild +++ b/dev-python/sphinx/sphinx-1.7.5-r1.ebuild @@ -93,7 +93,5 @@ python_compile_all() { python_test() { mkdir -p "${BUILD_DIR}/sphinx_tempdir" || die local -x SPHINX_TEST_TEMPDIR="${BUILD_DIR}/sphinx_tempdir" - cp -r -l tests "${BUILD_DIR}"/ || die "Failed to copy tests" - cp Makefile "${BUILD_DIR}"/ || die "Failed to copy Makefile" - emake test + py.test -vv || die "Tests fail with ${EPYTHON}" }