guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

40/71: gnu: kpackage: Disable plasma-query test.


From: guix-commits
Subject: 40/71: gnu: kpackage: Disable plasma-query test.
Date: Sun, 31 Mar 2024 21:57:30 -0400 (EDT)

apteryx pushed a commit to branch qt-team
in repository guix.

commit 5a2ce30adc85e2b6871cb68a7af6e05c7c30bce4
Author: Maxim Cournoyer <maxim.cournoyer@gmail.com>
AuthorDate: Fri Mar 29 22:01:02 2024 -0400

    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
---
 gnu/packages/kde-frameworks.scm | 10 +++++++---
 1 file 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)))))))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]