aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2024-10-21 23:09:21 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2024-10-21 23:20:41 +0200
commit7b2527646fdf2610d45f4ecd3215f0b749ae532d (patch)
treec40d25e13a6aaec691c830778a1460eb16285032 /sci-astronomy
parentmedia-gfx/kgeotag: Port to KF6 (diff)
downloadkde-7b2527646fdf2610d45f4ecd3215f0b749ae532d.tar.gz
kde-7b2527646fdf2610d45f4ecd3215f0b749ae532d.tar.bz2
kde-7b2527646fdf2610d45f4ecd3215f0b749ae532d.zip
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 <asturm@gentoo.org>
Diffstat (limited to 'sci-astronomy')
-rw-r--r--sci-astronomy/kstars/kstars-9999.ebuild19
1 files 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() {