[Scummvm-tracker] [ScummVM :: Bugs] #15738: TESTS: test/common/base64.h fails on big-endian hosts

ScummVM :: Bugs trac at scummvm.org
Tue Feb 11 14:15:20 UTC 2025


#15738: TESTS: test/common/base64.h fails on big-endian hosts
---------------------+------------------------------
Reporter:  dwatteau  |      Owner:  (none)
    Type:  defect    |     Status:  new
Priority:  normal    |  Component:  --Other--
 Version:            |   Keywords:  tests,big-endian
    Game:            |
---------------------+------------------------------
 Per the 'buildd' infrastructure from Debian, the `test/common/base64.h`
 test fails on big-endian hosts, for the 2.9.0 release.

 See the logs at <https://buildd.debian.org/status/package.php?p=scummvm>:
 the impacted archs are the big-endian ones, giving the following errors:

 {{{
 Running 441 tests...........................................
 In Base64TestSuite::test_b64EncodeData:
 ./test/common/base64.h:86: Error: Expected (encoded ==
 "AQAAAAIDAAQAAAAF"), found (AAAAAQIAAwAAAAQF != AQAAAAIDAAQAAAAF)
 ..
 In Base64TestSuite::test_b64DecodeData:
 ./test/common/base64.h:121: Error: Expected (test->x == 1), found
 (16777216 != 1)
 ./test/common/base64.h:123: Error: Expected (test->z == 3), found (768 !=
 3)
 ./test/common/base64.h:124: Error: Expected (test->a == 4), found
 (67108864 != 4)
 ..........................................................................................................................................................................................................................................................................................................................................................................................................
 Failed 2 of 441 tests
 Success rate: 99%
 }}}

 (I'm just tracking the issue for now; I haven't looked at fixing it yet.)
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/15738>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list