Subject: [PATCH] gnu: plasma-workspace: Disable failing test on aarch64.
From: Roman Scherer <[email-masked]>
To: [email-masked]
Cc: Roman Scherer <[email-masked]>, [email-masked]
Date: Fri, 6 Sep 2024 20:43:56 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* gnu/packages/kde-plasma.scm (plasma-workspace): Disable failing test on aarch64.

Change-Id: Ieb62dbd5bf51366ec949a98a6d490dd7175395fc
---
 gnu/packages/kde-plasma.scm | 34 ++++++++++++++++++++++++++++------
 1 file changed, 28 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/kde-plasma.scm b/gnu/packages/kde-plasma.scm
index fb5eb0c563..56213bed08 100644
--- a/gnu/packages/kde-plasma.scm
+++ b/gnu/packages/kde-plasma.scm
@@ -2880,12 +2880,34 @@ (define-public plasma-workspace
                              "--output-on-failure"
                              "--rerun-failed"
                              "-E"
-                             "(appstreamtest|tasktoolstest|tasksmodeltest|\
-fetchinitialplayertest|mprisdeclarativetest|mediakeystest|shelltest|\
-locationsrunnertest|testimagefinder|testimagelistmodel|\
-testpackageimagelistmodel|testimageproxymodel|testslidemodel|testimagefrontend|\
-dbusservicewatchertest|klippertest|keystatetest|lockedtest|tst_triangleFilter|\
-testimagebackend)"))))
+                             (string-join
+                              (list
+                               ;; Fails on an Apple M1 (aarch64) with the following error:
+                               ;; Compared values are not the same "2'\uFFFD''\uFFFD'"
+                               #$@(if (target-aarch64?)
+                                      #~("calculatorrunnertest")
+                                      #~())
+                               "appstreamtest"
+                               "dbusservicewatchertest"
+                               "fetchinitialplayertest"
+                               "keystatetest"
+                               "klippertest"
+                               "locationsrunnertest"
+                               "lockedtest"
+                               "mediakeystest"
+                               "mprisdeclarativetest"
+                               "shelltest"
+                               "tasksmodeltest"
+                               "tasktoolstest"
+                               "testimagebackend"
+                               "testimagefinder"
+                               "testimagefrontend"
+                               "testimagelistmodel"
+                               "testimageproxymodel"
+                               "testpackageimagelistmodel"
+                               "testslidemodel"
+                               "tst_triangleFilter")
+                              "|")))))
                ;; share/dbus-1/system-services have same name file
                ;; when dbus-root-service-type merge it, wail report
                ;; "file exists".

base-commit: 904631033ef8c5af94d3c2ec5e2762fdddf74c28
-- 
2.45.2