Skip to content

test_so3, test_se3, test_velocities fail on PowePC #448

Description

@barracuda156

Three tests fail on macOS PPC:

--->  Testing sophus
Executing:  cd "/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_sophus/sophus/work/build" && /usr/bin/make test 
Running tests...
/opt/local/bin/ctest --force-new-ctest-process 
Test project /opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_sophus/sophus/work/build
      Start  1: test_common
 1/13 Test  #1: test_common ......................   Passed    0.09 sec
      Start  2: test_cartesian2
 2/13 Test  #2: test_cartesian2 ..................   Passed    0.09 sec
      Start  3: test_cartesian3
 3/13 Test  #3: test_cartesian3 ..................   Passed    0.11 sec
      Start  4: test_so2
 4/13 Test  #4: test_so2 .........................   Passed    0.09 sec
      Start  5: test_se2
 5/13 Test  #5: test_se2 .........................   Passed    0.13 sec
      Start  6: test_rxso2
 6/13 Test  #6: test_rxso2 .......................   Passed    0.13 sec
      Start  7: test_sim2
 7/13 Test  #7: test_sim2 ........................   Passed    0.23 sec
      Start  8: test_so3
 8/13 Test  #8: test_so3 .........................***Failed    0.28 sec
      Start  9: test_se3
 9/13 Test  #9: test_se3 .........................***Failed    0.33 sec
      Start 10: test_rxso3
10/13 Test #10: test_rxso3 .......................   Passed    0.19 sec
      Start 11: test_sim3
11/13 Test #11: test_sim3 ........................   Passed    0.47 sec
      Start 12: test_velocities
12/13 Test #12: test_velocities ..................***Failed    0.04 sec
      Start 13: test_geometry
13/13 Test #13: test_geometry ....................   Passed    0.04 sec

77% tests passed, 3 tests failed out of 13

Total Test time (real) =   2.32 sec

The following tests FAILED:
	  8 - test_so3 (Failed)
	  9 - test_se3 (Failed)
	 12 - test_velocities (Failed)

Detailed output:

Test SO3

Double tests: 
passed.

Float tests: 
Test failed in function 'bool Sophus::Tests<Scalar>::testRawDataAcces() [with Scalar = float]', file '/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_sophus/sophus/work/Sophus-22.10/test/core/test_so3.cpp', line 129.
const_so3.data()[i] (=1) is not equal to raw2.data()[i] (=1)

Test SE3

Double tests: 
passed.

Float tests: 
Test failed in function 'bool Sophus::Tests<Scalar>::testRawDataAcces() [with Scalar = float]', file '/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_sophus/sophus/work/Sophus-22.10/test/core/test_se3.cpp', line 127.
const_se3.data()[i] (=1) is not equal to raw2.data()[i] (=1)


Test failed in function 'bool Sophus::Tests<Scalar>::testRawDataAcces() [with Scalar = float]', file '/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_sophus/sophus/work/Sophus-22.10/test/core/test_se3.cpp', line 132.
se3.data()[i] (=1) is not equal to raw2.data()[i] (=1)

Test Velocities

Double tests: 
passed.

Float tests: 
Test failed in function 'bool Sophus::experimental::tests_rotational_velocities() [with Scalar = float]', file '/opt/local/var/macports/build/_opt_PPCRosettaPorts_devel_sophus/sophus/work/Sophus-22.10/test/core/test_velocities.cpp', line 88.
rotVel_in_frame_bar (=
  0.0100578
0.000100403
1.00643e-06
) is not approx rotVel_in_frame_bar2 (=
   0.0145866
-0.000742918
 0.000964121
); std::sqrt(Constants<Scalar>::epsilon()) is 0.00316228; nrm is 0.00452879

Logs:
build_log.txt
tests_log.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions