[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/06: gnu: ilmbase: Skip failing test on i686-linux.
From: |
guix-commits |
Subject: |
02/06: gnu: ilmbase: Skip failing test on i686-linux. |
Date: |
Thu, 1 Sep 2022 12:41:21 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 294db8497c00699a2de5510652b0b8d316fb3a78
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Sep 1 14:06:27 2022 +0200
gnu: ilmbase: Skip failing test on i686-linux.
* gnu/packages/graphics.scm (ilmbase)[arguments]: Add 'skip-test'
phase.
---
gnu/packages/graphics.scm | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index f1588bac8b..fdc72d5a8d 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -775,7 +775,17 @@ applications, including the \"half\" 16-bit floating-point
type.")
(add-after 'unpack 'change-directory
(lambda _
(chdir "IlmBase")
- #t)))))
+ #t))
+ #$@(if (target-x86-32?)
+ #~((add-after 'change-directory 'skip-test
+ (lambda _
+ ;; XXX: This test fails on i686,
+ ;; possibly due to excess precision when
+ ;; comparing floats. Skip it.
+ (substitute* "ImathTest/testFun.cpp"
+ (("assert \\(bit_cast<unsigned>.*" all)
+ (string-append "// " all "\n"))))))
+ #~()))))
(home-page "https://www.openexr.com/")
(synopsis "Utility C++ libraries for threads, maths, and exceptions")
(description
- branch master updated (618699cb52 -> c3b1cfe76b), guix-commits, 2022/09/01
- 06/06: read-print: Guess the base to use for integers being printed., guix-commits, 2022/09/01
- 04/06: doc: Suggest more RAM for "Running Guix in a VM"., guix-commits, 2022/09/01
- 01/06: gnu: ilmbase: Switch to gexps., guix-commits, 2022/09/01
- 02/06: gnu: ilmbase: Skip failing test on i686-linux.,
guix-commits <=
- 03/06: maint: Ignore cross-compilation to x86., guix-commits, 2022/09/01
- 05/06: gnu: libtool: Reinstate 2.4.7., guix-commits, 2022/09/01