dev-python/sphinx: Make python_test() simpler

This commit is contained in:
Michał Górny
2018-07-12 20:36:45 +02:00
parent e8061747c0
commit aa6fd71417

View File

@@ -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}"
}