[3dprinter-general] Bug#1041808: cura-engine: Several unit test failures on i686

Gregor Riepl onitake at gmail.com
Sun Jul 23 20:12:36 BST 2023


Here's an excerpt of the failing tests:

test 21
       Start 21: PolygonConnectorTest

21: Test command: cura-engine/obj-i686-linux-gnu/PolygonConnectorTest
21: Working Directory: cura-engine/tests/
21: Test timeout computed to be: 1500
5: [       OK ] 
InfillTestcases/InfillTest.TestInfillSanity/InfillTestParameters_P6_Z0_C1_L600__2 
(5 ms)
5: [ RUN      ] 
InfillTestcases/InfillTest.TestInfillSanity/InfillTestParameters_P6_Z0_C0_L800__2
6: [       OK ] AllCombinations/AddTravelTest.NoRetractionIfDisabled/62 
(4 ms)
6: [ RUN      ] AllCombinations/AddTravelTest.NoRetractionIfDisabled/63
21: [==========] Running 6 tests from 1 test suite.
21: [----------] Global test environment set-up.
21: [----------] 6 tests from PolygonConnectorTest
21: [ RUN      ] PolygonConnectorTest.getBridgeNestedSquares
21: ./tests/utils/PolygonConnectorTest.cpp:71: Failure
21: Expected equality of these values:
21:   LinearAlg2D::getDist2BetweenLineSegments(bridge->a.from_point, 
bridge->a.to_point, bridge->b.from_point, bridge->b.to_point)
21:     Which is: 9801
21:   100 * 100
21:     Which is: 10000
21: The bridges should be spaced 1 line width (100 units) apart.
21: [  FAILED  ] PolygonConnectorTest.getBridgeNestedSquares (0 ms)
21: [ RUN      ] PolygonConnectorTest.getBridgeAdjacentSquares
21: ./tests/utils/PolygonConnectorTest.cpp:91: Failure
21: Expected equality of these values:
21:   LinearAlg2D::getDist2BetweenLineSegments(bridge->a.from_point, 
bridge->a.to_point, bridge->b.from_point, bridge->b.to_point)
21:     Which is: 9801
21:   100 * 100
21:     Which is: 10000
21: The bridges should be spaced 1 line width (100 units) apart.



test 18
       Start 18: IntPointTest

18: Test command: cura-engine/obj-i686-linux-gnu/IntPointTest
18: Working Directory: cura-engine/tests/
18: Test timeout computed to be: 1500
18: [==========] Running 1 test from 1 test suite.
18: [----------] Global test environment set-up.
18: [----------] 1 test from IntPointTest
18: [ RUN      ] IntPointTest.TestRotationMatrix
18: ./tests/utils/IntPointTest.cpp:24: Failure
18: Expected equality of these values:
18:   rotated_in_place
18:     Which is: (11,20)
18:   rotated_in_place_2
18:     Which is: (10,20)
18: Matrix composition with translate and rotate failed.
18: [  FAILED  ] IntPointTest.TestRotationMatrix (0 ms)
18: [----------] 1 test from IntPointTest (0 ms total)
18:
18: [----------] Global test environment tear-down
18: [==========] 1 test from 1 test suite ran. (0 ms total)
18: [  PASSED  ] 0 tests.
18: [  FAILED  ] 1 test, listed below:
18: [  FAILED  ] IntPointTest.TestRotationMatrix
18:
18:  1 FAILED TEST
15/26 Test #18: IntPointTest .....................***Failed    0.00 sec
[==========] Running 1 test from 1 test suite.
[----------] Global test environment set-up.
[----------] 1 test from IntPointTest
[ RUN      ] IntPointTest.TestRotationMatrix
./tests/utils/IntPointTest.cpp:24: Failure
Expected equality of these values:
   rotated_in_place
     Which is: (11,20)
   rotated_in_place_2
     Which is: (10,20)
Matrix composition with translate and rotate failed.
[  FAILED  ] IntPointTest.TestRotationMatrix (0 ms)
[----------] 1 test from IntPointTest (0 ms total)

[----------] Global test environment tear-down
[==========] 1 test from 1 test suite ran. (0 ms total)
[  PASSED  ] 0 tests.
[  FAILED  ] 1 test, listed below:
[  FAILED  ] IntPointTest.TestRotationMatrix



More information about the 3dprinter-general mailing list