Subject: [bug#53434] [PATCH 09/11] gnu: imath: Disable tests on i686.

From: Leo Famulari <[email-masked]>
Date: Tue, 25 Jan 2022 22:44:46 -0500

On Wed, Jan 26, 2022 at 02:06:34AM +0100, Denis 'GNUtoo' Carikli wrote:
> > * gnu/packages/graphjics.scm (imath)[arguments]<#:tests?>:
> > Conditionally disable tests.
> This one still fails without this patch. I've attached the build log
> for now.

The salient parts of the log

------
    dir ~ (0 0 -1), result = 0
  transform box by matrix
ImathTest: /tmp/guix-build-imath-3.1.3.drv-0/source/src/ImathTest/testBoxAlgo.cpp:816: void {anonymous}::boxMatrixTransform(): Assertion `b21 == b2' failed.

      Start 31: Imath.testBox
------

... and ...

------
    extendBy() point for type V2i64
    extendBy() point for type V2f 
ImathTest: /tmp/guix-build-imath-3.1.3.drv-0/source/src/ImathTest/testBox.cpp:257: void {anonymous}::testExtendByPoint(const char*) [with T = Imath_3_1::Vec2<float>]: Assertion `b.min == min && b.max == max' failed. 

      Start 32: Imath.testProcrustes
32/36 Test #32: Imath.testProcrustes ....................   Passed    0.01 sec 
      Start 33: Imath.testTinySVD
------

Upstream report:

https://github.com/AcademySoftwareFoundation/Imath/issues/226