Skip to content

Unit tests fail on macOS #55

@valgur

Description

@valgur

While macOS is not explicitly supported, it should still run without any issues on ARM64 if the code has been constructed correctly. An AppleClang build in the CI (https://github.com/valgur/novatel_edie/actions/runs/9731990895/job/26857109732) currently fails in 4 unit tests (or 2 distinct ones, really):

src/decoders/novatel/test/novatel_test.cpp:1135: Failure
Expected equality of these values:
  pstGloEphemeris->ephem_time
    Which is: 1999634432
  161118000U
    Which is: 161118000

[  FAILED  ] DecodeEncodeTest.ASCII_LOG_ROUNDTRIP_GLOEPHEM (0 ms)
src/decoders/novatel/test/novatel_test.cpp:1413: Failure
Expected equality of these values:
  pstLogHeader->usLength
    Which is: 146
  144

[  FAILED  ] DecodeEncodeTest.FLAT_BINARY_LOG_DECODE_GLOEPHEMA (0 ms)
src/decoders/novatel/test/novatel_test.cpp:1585: Failure
Expected equality of these values:
  2196U
    Which is: 2196
  stMessageData.uiMessageLength
    Which is: 2197

[  FAILED  ] DecodeEncodeTest.FLAT_BINARY_LOG_DECODE_VERSION (0 ms)
src/decoders/novatel/test/novatel_test.cpp:1662: Failure
Expected equality of these values:
  2196U
    Which is: 2196
  stMessageData.uiMessageLength
    Which is: 2198

[  FAILED  ] DecodeEncodeTest.FLAT_BINARY_LOG_DECODE_VERSIONA (0 ms)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions