diff options
| author | Gabriel Wicki <gabriel@erlikon.ch> | 2026-01-10 02:08:32 +0100 |
|---|---|---|
| committer | Gabriel Wicki <gabriel@erlikon.ch> | 2026-01-10 22:50:05 +0100 |
| commit | 13f0712bade52fcc4672f230498cb2432e62e13d (patch) | |
| tree | c0ad5c97103f0127d33b3d6c48090e0c673b6e99 /gnu/packages/engineering.scm | |
| parent | 1d0ac19d81ecdd1b21048d3dfe1c06323ff9c351 (diff) | |
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 <gabriel@erlikon.ch>
Diffstat (limited to 'gnu/packages/engineering.scm')
| -rw-r--r-- | gnu/packages/engineering.scm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/gnu/packages/engineering.scm b/gnu/packages/engineering.scm index 75fef9e695b..ca0cfa6b1a1 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") |
