diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2024-10-21 23:09:21 +0200 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2024-10-21 23:10:25 +0200 |
commit | 82bd7aa73acbdfc0f0eccf4fe021480956b1e91b (patch) | |
tree | 0a242bf68cf64f3ab9bc5a003bd506bc5d72d0f6 /sci-astronomy | |
parent | app-backup/bacula: Do not build with -flto (diff) | |
download | gentoo-82bd7aa73acbdfc0f0eccf4fe021480956b1e91b.tar.gz gentoo-82bd7aa73acbdfc0f0eccf4fe021480956b1e91b.tar.bz2 gentoo-82bd7aa73acbdfc0f0eccf4fe021480956b1e91b.zip |
sci-astronomy/kstars: Fix some tests and disable broken ones
Closes: https://bugs.gentoo.org/923871
Closes: 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-3.7.3.ebuild | 19 |
1 files changed, 12 insertions, 7 deletions
diff --git a/sci-astronomy/kstars/kstars-3.7.3.ebuild b/sci-astronomy/kstars/kstars-3.7.3.ebuild index 685e654d10f5..6fc730f44dff 100644 --- a/sci-astronomy/kstars/kstars-3.7.3.ebuild +++ b/sci-astronomy/kstars/kstars-3.7.3.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=( -DBUILD_PYKSTARS=OFF @@ -87,12 +97,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() { |