From 7724e813891c1f98dfa6df04bd546ec78c1f9dc5 Mon Sep 17 00:00:00 2001 From: Michał Górny Date: Sun, 30 Jan 2022 13:11:33 +0100 Subject: dev-python/pandas: Run a single Xvfb MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/pandas/pandas-1.4.0.ebuild | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'dev-python/pandas') diff --git a/dev-python/pandas/pandas-1.4.0.ebuild b/dev-python/pandas/pandas-1.4.0.ebuild index 922f3eec3723..a29bcb00cd44 100644 --- a/dev-python/pandas/pandas-1.4.0.ebuild +++ b/dev-python/pandas/pandas-1.4.0.ebuild @@ -140,6 +140,10 @@ python_compile_all() { fi } +src_test() { + virtx distutils-r1_src_test +} + python_test() { local EPYTEST_DESELECT=( # test for rounding errors, fails if we have better precision @@ -155,8 +159,9 @@ python_test() { local -x LC_ALL=C.UTF-8 cd "${BUILD_DIR}/install$(python_get_sitedir)" || die "${EPYTHON}" -c "import pandas; pandas.show_versions()" || die - virtx epytest pandas --skip-slow --skip-network -m "not single" \ - -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" + epytest pandas --skip-slow --skip-network -m "not single" \ + -n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")" || + die "Tests failed with ${EPYTHON}" } python_install_all() { -- cgit v1.2.3-65-gdbad