Imath
Imath copied to clipboard
./src/ImathTest/testMatrix.cpp:116: void testMatrix(): Assertion `m3 == m2' failed.
It seems like i386 issues are back again in codebase. The package is failing the unit test suite on i386 arch on Debian buildds:
- https://buildd.debian.org/status/fetch.php?pkg=imath&arch=i386&ver=3.1.3-5&stamp=1638265766&raw=0
18: Test command: /<<PKGBUILDDIR>>/build/bin/ImathTest "testMatrix"
18: Test timeout computed to be: 1500
9: rounding normalized numbers to 1-bit precision
9: max error = 0.249634
9: max expected error = 0.249999
9: ok
9:
18: Testing functions in ImathMatrix.h
18: Imath::M22f constructors and equality operators
18: M22d constructors and equality operators
18: M22f inversion operators
18: ImathTest: ./src/ImathTest/testMatrix.cpp:116: void testMatrix(): Assertion `m3 == m2' failed.
15/38 Test #18: Imath.testMatrix ........................Subprocess aborted***Exception: 0.00 sec
Testing functions in ImathMatrix.h
Imath::M22f constructors and equality operators
M22d constructors and equality operators
M22f inversion operators
ImathTest: ./src/ImathTest/testMatrix.cpp:116: void testMatrix(): Assertion `m3 == m2' failed.
Another one:
21: ImathTest: ./src/ImathTest/testFun.cpp:70: void testf(float, bool): Assertion `bit_cast<unsigned> (pf) == bit_cast<unsigned> (f)' failed.
and:
23: ImathTest: ./src/ImathTest/testInterval.cpp:189: void {anonymous}::testExtendByPoint(const char*) [with T = float]: Assertion `b.min == min && b.max == max' failed.
This one looks different though:
1: Running testV2Array
1: V2iArray
1: ok
1: V2fArray
1: Traceback (most recent call last):
1: File "/<<PKGBUILDDIR>>/src/python/PyImathTest/pyImathTest.in", line 10137, in <module>
1: test[1]()
1: File "/<<PKGBUILDDIR>>/src/python/PyImathTest/pyImathTest.in", line 2619, in testV2Array
1: testV2xArray (V2fArray, V2f, FloatArray)
1: File "/<<PKGBUILDDIR>>/src/python/PyImathTest/pyImathTest.in", line 2588, in testV2xArray
1: assert (l[0] == v0.length())
1: AssertionError