mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-27 04:59:27 -05:00
gnu: inkscape: Conditionally disable precision tests.
* gnu/packages/inkscape.scm (inkscape/stable)[arguments]: Disable tests on aarch64, ppc64le, and riscv64 that fail due to precision errors. Change-Id: Ie40100ed4adc4d007211c695b34eb4d648345304
This commit is contained in:
parent
fc91a71c77
commit
540f1c8bfe
1 changed files with 6 additions and 1 deletions
|
@ -187,7 +187,9 @@ (define-public inkscape/stable
|
||||||
(lambda _
|
(lambda _
|
||||||
;; https://gitlab.com/inkscape/inkscape/-/issues/3554#note_1035680690
|
;; https://gitlab.com/inkscape/inkscape/-/issues/3554#note_1035680690
|
||||||
(substitute* "testfiles/CMakeLists.txt"
|
(substitute* "testfiles/CMakeLists.txt"
|
||||||
(("lpe64-test") "#lpe64-test"))
|
(("lpe64-test") "#lpe64-test")
|
||||||
|
((" lpe-test") " #lpe-test")
|
||||||
|
(("add_subdirectory\\(lpe_tests\\)") ""))
|
||||||
;; https://gitlab.com/inkscape/inkscape/-/issues/3554#note_1035539888
|
;; https://gitlab.com/inkscape/inkscape/-/issues/3554#note_1035539888
|
||||||
;; According to upstream, this is a false positive.
|
;; According to upstream, this is a false positive.
|
||||||
(substitute* "testfiles/rendering_tests/CMakeLists.txt"
|
(substitute* "testfiles/rendering_tests/CMakeLists.txt"
|
||||||
|
@ -197,6 +199,9 @@ (define-public inkscape/stable
|
||||||
;; Allegedly a precision error in the gamma.
|
;; Allegedly a precision error in the gamma.
|
||||||
(substitute* "testfiles/cli_tests/CMakeLists.txt"
|
(substitute* "testfiles/cli_tests/CMakeLists.txt"
|
||||||
(("add_cli_test\\(export-png-color-mode-gray-8_png" all)
|
(("add_cli_test\\(export-png-color-mode-gray-8_png" all)
|
||||||
|
(string-append "#" all))
|
||||||
|
;; These also seem to be failing due to precision errors.
|
||||||
|
(("add_pdfinput_test\\(font-(spacing|style) 1 draw-all" all)
|
||||||
(string-append "#" all))))))
|
(string-append "#" all))))))
|
||||||
'())
|
'())
|
||||||
(add-after 'unpack 'set-home
|
(add-after 'unpack 'set-home
|
||||||
|
|
Loading…
Reference in a new issue