From 7b2527646fdf2610d45f4ecd3215f0b749ae532d Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Mon, 21 Oct 2024 23:09:21 +0200 Subject: sci-astronomy/kstars: Fix some tests and disable broken ones Bug: https://bugs.gentoo.org/923871 Bug: https://bugs.gentoo.org/939788 Signed-off-by: Andreas Sturmlechner --- sci-astronomy/kstars/kstars-9999.ebuild | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/sci-astronomy/kstars/kstars-9999.ebuild b/sci-astronomy/kstars/kstars-9999.ebuild index eac4c9389d..1f3205be2e 100644 --- a/sci-astronomy/kstars/kstars-9999.ebuild +++ b/sci-astronomy/kstars/kstars-9999.ebuild @@ -21,7 +21,8 @@ LICENSE="GPL-2+ GPL-3+" SLOT="5" IUSE="+password raw wcs" -REQUIRED_USE="${PYTHON_REQUIRED_USE}" +# IUSE wcs needed by TestPolarAlign +REQUIRED_USE="${PYTHON_REQUIRED_USE} test? ( wcs )" COMMON_DEPEND=" >=dev-qt/qtdatavis3d-${QTMIN}:5 @@ -73,6 +74,15 @@ RDEPEND="${COMMON_DEPEND} >=dev-qt/qtquickcontrols2-${QTMIN}:5 " +CMAKE_SKIP_TESTS=( + # bug 842768, test declared unstable by upstream + TestKSPaths + # bugs 923871, 939788 + TestPlaceholderPath # ki18n (KLocalizedString) failure + # all fail with offscreen plugin + TestEkos{Capture,FilterWheel,Focus,Mount,Scheduler{,Ops},Simulator} +) + src_configure() { local mycmakeargs=( -DCMAKE_DISABLE_FIND_PACKAGE_LibXISF=ON # not packaged @@ -86,12 +96,7 @@ src_configure() { } src_test() { - # bug 842768, test declared unstable by upstream - local myctestargs=( - -E "(TestKSPaths)" - ) - - ecm_src_test + LC_NUMERIC="C" LC_TIME="C" TZ=UTC ecm_src_test } pkg_postinst() { -- cgit v1.2.3-65-gdbad