guix_mirror_bot pushed a commit to branch master
in repository guix.
commit 13f0712bade52fcc4672f230498cb2432e62e13d
Author: Gabriel Wicki <[email protected]>
AuthorDate: Sat Jan 10 02:08:32 2026 +0100
gnu: gnucap: Fix build.
Fixes: guix/guix#5469
* gnu/packages/engineering.scm (gnucap) [arguments] {phases}: Ignore failing
tests, for they do not indicate build failure.
Change-Id: I1182b9ccca35cdbb5f6308149d61057b6528018e
Signed-off-by: Gabriel Wicki <[email protected]>
---
gnu/packages/engineering.scm | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm
index 75fef9e695..ca0cfa6b1a 100644
--- a/gnu/packages/engineering.scm
+++ b/gnu/packages/engineering.scm
@@ -2514,14 +2514,14 @@ printers.")
;; --prefix argument to be the first argument passed to it.
(invoke "./configure" (string-append "--prefix=" out)))))
(replace 'check
+ ;; Attention: As discussed, a failing test in gnucap does not mean
+ ;; the build process has failed. Therefor we ignore, but still
+ ;; display the result of gnucap's test evaluation.
+ ;; https://codeberg.org/guix/guix/issues/5469#issuecomment-9695825
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))
(libpath "../lib/O:../apps/O"))
(with-directory-excursion "tests"
- ;; Make test return non-zero exit code when a test fails.
- (substitute* "test"
- (("/bin/sh") "/bin/sh -e")
- (("\\|\\| echo \"\\*\\*\\*\\* \\$ii fails \\*\\*\\*\\*\"")
""))
;; Fix expected plugin search path for test c_attach.1.gc
(substitute* "==out/c_attach.1.gc.out"
(("/usr/local/lib/gnucap")