guix_mirror_bot pushed a commit to branch kde-team
in repository guix.

commit 30d21894e1791f8cb05ffaef40de8a3cece3dcdd
Author: Rodion Goritskov <[email protected]>
AuthorDate: Thu Aug 27 00:18:23 2026 +0200

    gnu: marble: Fix tests.
    
    * gnu/packages/kde-education.scm (marble)[arguments]<#:test-exclude>:
    Remove tests that no longer fail.
    <#:phases>: Move check phase after install to make plugins available
    for tests.
    
    Signed-off-by: Andreas Enge <[email protected]>
---
 gnu/packages/kde-education.scm | 19 +++++++------------
 1 file changed, 7 insertions(+), 12 deletions(-)

diff --git a/gnu/packages/kde-education.scm b/gnu/packages/kde-education.scm
index 73051fea5b..b5b2f322ec 100644
--- a/gnu/packages/kde-education.scm
+++ b/gnu/packages/kde-education.scm
@@ -384,17 +384,7 @@ to perform data analysis.")
     (build-system qt-build-system)
     (arguments
      (list
-      #:test-exclude
-      (string-append "("
-                     (string-join '("MarbleRunnerManagerTest"
-                                    "MarbleMapTest"
-                                    "MarbleWidgetTest"
-                                    "RenderPluginTest"
-                                    "AbstractDataPluginModelTest"
-                                    "AbstractDataPluginTest"
-                                    "AbstractFloatItemTest")
-                                  "|")
-                     ")")
+      #:test-exclude "MarbleRunnerManagerTest"
       #:qtbase qtbase
       #:configure-flags
       #~(list "-DBUILD_MARBLE_TOOLS=YES" ;file conversion tools
@@ -405,7 +395,12 @@ to perform data analysis.")
             (lambda _
               (substitute* 
"tools/vectorosm-tilecreator/autotests/CMakeLists.txt"
                 (("\\$<TARGET_FILE:osmconvert>")
-                 (which "osmconvert"))))))))
+                 (which "osmconvert")))))
+          ;; Some tests rely on plugins being installed, so
+          ;; check should be run after install.
+          (delete 'check)
+          (add-after 'install 'check
+            (assoc-ref %standard-phases 'check)))))
     (native-inputs (list abseil-cpp
                          extra-cmake-modules
                          kdoctools

Reply via email to