aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-04-30 21:20:52 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-05-01 00:30:21 +0300
commit1ab846181f0d068f071962c596ac4173761f5c6e (patch)
tree1ca90606fe72af58b47b882eff78ee3354f531f4 /gnu
parent08675129aae260cb25cd6287e775cfe24bd92584 (diff)
downloadguix-1ab846181f0d068f071962c596ac4173761f5c6e.tar.gz
guix-1ab846181f0d068f071962c596ac4173761f5c6e.zip
gnu: inkscape: Skip more tests on some architectures.
* gnu/packages/inkscape.scm (inkscape)[arguments]: Add a phase when building for aarch64-linux or powerpc64le-linux to skip some more tests.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/inkscape.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/inkscape.scm b/gnu/packages/inkscape.scm
index b4b35dc251..2840fd789b 100644
--- a/gnu/packages/inkscape.scm
+++ b/gnu/packages/inkscape.scm
@@ -7,6 +7,7 @@
;;; Copyright © 2020, 2021, 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Boris A. Dekshteyn <boris.dekshteyn@gmail.com>
;;; Copyright © 2020 Ekaitz Zarraga <ekaitz@elenq.tech>
+;;; Copyright © 2023 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -192,6 +193,23 @@ endif()~%~%"
(("text-glyphs-combining") "")
(("text-glyphs-vertical") "")
(("test-rtl-vertical") ""))))
+ ,@(if (or (target-aarch64?)
+ (target-ppc64le?))
+ `((add-after 'unpack 'disable-more-tests
+ (lambda _
+ ;; https://gitlab.com/inkscape/inkscape/-/issues/3554#note_1035680690
+ (substitute* "testfiles/CMakeLists.txt"
+ (("lpe64-test") "#lpe64-test"))
+ ;; https://gitlab.com/inkscape/inkscape/-/issues/3554#note_1035539888
+ ;; According to upstream, this is a false positive.
+ (substitute* "testfiles/rendering_tests/CMakeLists.txt"
+ (("test-use") "#test-use"))
+ ;; https://gitlab.com/inkscape/inkscape/-/issues/3554#note_1035539888
+ ;; Allegedly a precision error in the gamma.
+ (substitute* "testfiles/cli_tests/CMakeLists.txt"
+ (("add_cli_test\\(export-png-color-mode-gray-8_png" all)
+ (string-append "#" all))))))
+ '())
(add-after 'unpack 'set-home
;; Mute Inkscape warnings during tests.
(lambda _
'>gnu: qtwebengine: Rename to qtwebengine-5.Maxim Cournoyer 2022-07-31gnu: qtwebchannel: Rename to qtwebchannel-5.Maxim Cournoyer 2022-07-31gnu: qtquickcontrols2: Rename to qtquickcontrols2-5.Maxim Cournoyer 2022-07-31gnu: qtquickcontrols: Rename to qtquickcontrols-5.Maxim Cournoyer 2022-07-31gnu: qtdeclarative: Rename to qtdeclarative-5.Maxim Cournoyer 2022-07-31gnu: qtmultimedia: Rename to qtmultimedia-5.Maxim Cournoyer 2022-07-31gnu: qtsvg: Rename variable to qtsvg-5.Maxim Cournoyer 2022-06-21gnu: fet: Update to 6.5.3.Nicolas Goaziou 2022-05-31gnu: Remove childsplay.Maxim Cournoyer 2022-05-31gnu: Remove omnitux.Maxim Cournoyer 2022-03-24gnu: gcompris-qt: Use kde download mirror url.Efraim Flashner 2022-03-22gnu: Add openboard.Nicolas Goaziou 2022-03-14gnu: gcompris-qt: Update to 2.3.Efraim Flashner 2022-01-28gnu: anki: Remove a transitive dependency on QtWebKit.Leo Famulari 2022-01-24gnu: gcompris-qt: Update to 2.1.Efraim Flashner 2022-01-18gnu: snap: Remove inputs labels.Nicolas Goaziou 2022-01-18gnu: snap: Update to 7.0.5.Nicolas Goaziou 2022-01-14gnu: toutenclic: Remove trailing #T from phases.Nicolas Goaziou 2022-01-14gnu: toutenclic: Use archived source.Nicolas Goaziou 2022-01-04gnu: snap: Update to 7.0.3.Nicolas Goaziou 2022-01-02gnu: gcompris: Fix build with GCC 10.Felix Gruber