[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#70031] [PATCH v2 17/65] gnu: inkscape: Fix tests.
From: |
Greg Hogan |
Subject: |
[bug#70031] [PATCH v2 17/65] gnu: inkscape: Fix tests. |
Date: |
Tue, 22 Oct 2024 18:09:07 +0000 |
* gnu/packages/inkscape.scm (inkscape)[arguments]: Replace 'check
phase to replace the old cmake-build-system test target.
Change-Id: I95d4829b476b03becdf6c646bc3aabcfff1fba0a
---
gnu/packages/inkscape.scm | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/gnu/packages/inkscape.scm b/gnu/packages/inkscape.scm
index 13e1652f87..ea98a1f285 100644
--- a/gnu/packages/inkscape.scm
+++ b/gnu/packages/inkscape.scm
@@ -159,7 +159,6 @@ (define-public inkscape/stable
(build-system cmake-build-system)
(arguments
(list
- #:test-target "check" ;otherwise some test binaries are missing
#:disallowed-references (list imagemagick/stable)
#:imported-modules `(,@%cmake-build-system-modules
(guix build glib-or-gtk-build-system))
@@ -359,10 +358,15 @@ (define-public inkscape
#$@(if (target-x86-32?)
#~() ;XXX: there are remaining failures on i686
#~((replace 'check
+ ;; Test artifacts and actions are built with the 'check'
target.
+ (lambda* (#:key parallel-tests? tests?
#:allow-other-keys)
;; Re-instate the tests disabled in inkscape/stable,
now that
;; their ImageMagick requirement is satisfied.
- (assoc-ref %standard-phases 'check))))
-
+ (when tests?
+ (let ((job-count (if parallel-tests?
+ (number->string
(parallel-job-count))
+ "1")))
+ (invoke "make" "-j" job-count "check")))))))
(replace 'wrap-program
;; Ensure Python is available at runtime.
(lambda _
--
2.46.1
- [bug#70031] [PATCH v2 24/65] gnu: kservice: Disable parallel tests., (continued)
- [bug#70031] [PATCH v2 24/65] gnu: kservice: Disable parallel tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 30/65] gnu: vulkan-loader: Disable parallel tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 10/65] build-system/cmake: Optionally build tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 15/65] gnu: fish: Fix tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 35/65] gnu: nextcloud-client: Use #:test-exclude., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 37/65] gnu: qxmpp: Use #:test-exclude., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 42/65] gnu: entangle: Pin CMake dependency., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 38/65] gnu: simgear: Use #:test-exclude., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 43/65] gnu: go-mvdan-cc-editorconfig: Pin CMake dependency., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 46/65] gnu: lxi-tools: Pin CMake dependency., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 17/65] gnu: inkscape: Fix tests.,
Greg Hogan <=
- [bug#70031] [PATCH v2 20/65] gnu: kirigami-5: Disable tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 21/65] gnu: vigra: Fix tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 27/65] gnu: mbedtls-lts: Disable parallel tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 25/65] gnu: libical: Disable parallel tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 28/65] gnu: scotch: Disable parallel tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 29/65] gnu: srt: Disable parallel tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 31/65] gnu: websocketpp: Disable parallel tests., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 41/65] gnu: conan: Pin CMake dependency., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 39/65] gnu: cmake: Update to 3.30.5., Greg Hogan, 2024/10/22
- [bug#70031] [PATCH v2 04/65] build-system/cmake: Add generator., Greg Hogan, 2024/10/22