summary refs log tree commit diff
path: root/gnu/packages/kde-frameworks.scm
diff options
context:
space:
mode:
authorMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-03-29 22:01:02 -0400
committerMaxim Cournoyer <maxim.cournoyer@gmail.com>2024-04-03 18:05:13 -0400
commit0a2d7d4a84058935ad20e06e5ae0a1af6714280b (patch)
treea86eb87e20879d63d166ba9dbf41c7a5aec811d4 /gnu/packages/kde-frameworks.scm
parent6e76ecde2d024f512aa167546b1530d13337b77a (diff)
downloadguix-0a2d7d4a84058935ad20e06e5ae0a1af6714280b.tar.gz
gnu: kpackage: Disable plasma-query test.
* gnu/packages/kde-frameworks.scm (kpackage)
[arguments]: Remove #:parallel-tests? argument.
<phases>: Add disable-problematic-tests phase.

Change-Id: Ie79a7742bb62bb59fe16af3a2b9a0c4a5c925ee3
Diffstat (limited to 'gnu/packages/kde-frameworks.scm')
-rw-r--r--gnu/packages/kde-frameworks.scm10
1 files changed, 7 insertions, 3 deletions
diff --git a/gnu/packages/kde-frameworks.scm b/gnu/packages/kde-frameworks.scm
index 7823c277f7..882cf40e26 100644
--- a/gnu/packages/kde-frameworks.scm
+++ b/gnu/packages/kde-frameworks.scm
@@ -2033,9 +2033,6 @@ covers feedback and persistent events.")
            qtbase-5))
     (arguments
      (list
-      ;; The `plasma-querytest' test is known to fail when tests are run in parallel:
-      ;; <https://sources.debian.org/src/kpackage/5.107.0-1/debian/changelog/#L92>
-      #:parallel-tests? #f
       #:phases
       #~(modify-phases %standard-phases
           (add-after 'unpack 'patch
@@ -2062,6 +2059,13 @@ covers feedback and persistent events.")
                  "filePath(\"etc\", QStringLiteral(\"passwd\"))")
                 (("\"/bin/ls\"")
                  "\"/etc/passwd\""))))
+          (add-after 'unpack 'disable-problematic-tests
+            (lambda _
+              ;; The 'plasma-query' test fails non-deterministically, as
+              ;; reported e.g. in <https://bugs.gentoo.org/919151>.
+              (substitute* "autotests/CMakeLists.txt"
+                ((".*querytest.*")
+                 ""))))
           (add-before 'check 'check-setup
             (lambda _
               (setenv "HOME" (getcwd)))))))